Global web icon
leetcode.com
https://leetcode.com/
LeetCode - The World's Leading Online Programming Learning Platform
Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview.
Global web icon
leetcode.com
https://leetcode.com/studyplan/
Study Plan - LeetCode
Enhance your coding skills and prepare for job interviews with LeetCode's study plans.
Global web icon
leetcode.com
https://leetcode.com/studyplan/top-interview-150/
Top Interview 150 - Study Plan - LeetCode
Must-do List for Interview Prep
Global web icon
leetcode.com
https://leetcode.com/problems/palindrome-number/
Palindrome Number - LeetCode
Can you solve this real interview question? Palindrome Number - Given an integer x, return true if x is a palindrome, and false otherwise. Example 1: Input: x = 121 Output: true Explanation: 121 reads as 121 from left to right and from right to left. Example 2: Input: x = -121 Output: false Explanation: From left to right, it reads -121. From right to left, it becomes 121-. Therefore it is not ...
Global web icon
leetcode.com
https://leetcode.com/problems/minimum-window-subst…
Minimum Window Substring - LeetCode
Can you solve this real interview question? Minimum Window Substring - Given two strings s and t of lengths m and n respectively, return the minimum window substring of s such that every character in t (including duplicates) is included in the window. If there is no such substring, return the empty string "". The testcases will be generated such that the answer is unique. Example 1: Input: s ...
Global web icon
leetcode.com
https://leetcode.com/problems/two-sum/
Two Sum - LeetCode
A really brute force way would be to search for all possible pairs of numbers but that would be too slow. Again, it's best to try out brute force solutions just for completeness. It is from these brute force solutions that you can come up with optimizations.
Global web icon
leetcode.com
https://leetcode.com/problem-list/array/
Array - LeetCode
Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview.
Global web icon
leetcode.com
https://leetcode.com/problems/single-element-in-a-…
Single Element in a Sorted Array - LeetCode
Can you solve this real interview question? Single Element in a Sorted Array - You are given a sorted array consisting of only integers where every element appears exactly twice, except for one element which appears exactly once. Return the single element that appears only once. Your solution must run in O (log n) time and O (1) space. Example 1: Input: nums = [1,1,2,3,3,4,4,8,8] Output: 2 ...
Global web icon
leetcode.com
https://leetcode.com/problems/climbing-stairs/
Climbing Stairs - LeetCode
Can you solve this real interview question? Climbing Stairs - You are climbing a staircase. It takes n steps to reach the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top? Example 1: Input: n = 2 Output: 2 Explanation: There are two ways to climb to the top. 1. 1 step + 1 step 2. 2 steps Example 2: Input: n = 3 Output: 3 Explanation: There ...
Global web icon
leetcode.com
https://leetcode.com/discuss/
Discuss - LeetCode
Join LeetCode Discuss for coding insights, learning opportunities, and networking with fellow programmers in a vibrant community.