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/explore/featured/
Explore - LeetCode
LeetCode Explore is the best place for everyone to start practicing and learning on LeetCode. No matter if you are a beginner or a master, there are always new topics waiting for you to explore.
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://support.leetcode.com/hc/en-us/articles/360…
Start your Coding Practice - Help Center
Code Editor LeetCode is working on providing the best online coding experience for you. In the code editor, we start you off with default code templates based on the question and your choice of language. In order to achieve these unique features, our team integrates the editor with different context and coding environments.
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/merge-two-sorted-lis…
Merge Two Sorted Lists - LeetCode
You are given the heads of two sorted linked lists list1 and list2. Merge the two lists into one sorted list. The list should be made by splicing together the nodes of the first two lists. Return the head of the merged linked list. Example 1: Input: list1 = [1,2,4], list2 = [1,3,4] Output: [1,1,2,3,4,4] Example 2: Input: list1 = [], list2 = [] Output: [] Example 3: Input: list1 = [], list2 ...
Global web icon
leetcode.com
https://leetcode.com/problems/sudoku-solver/descri…
Sudoku Solver - LeetCode
Can you solve this real interview question? Sudoku Solver - Write a program to solve a Sudoku puzzle by filling the empty cells. A sudoku solution must satisfy all of the following rules: 1. Each of the digits 1-9 must occur exactly once in each row. 2. Each of the digits 1-9 must occur exactly once in each column. 3. Each of the digits 1-9 must occur exactly once in each of the 9 3x3 sub ...
Global web icon
leetcode.com
https://leetcode.com/problems/linked-list-cycle/de…
Linked List Cycle - LeetCode
Can you solve this real interview question? Linked List Cycle - Given head, the head of a linked list, determine if the linked list has a cycle in it. There is a cycle in a linked list if there is some node in the list that can be reached again by continuously following the next pointer. Internally, pos is used to denote the index of the node that tail's next pointer is connected to. Note that ...