LeetCode
LeetCode
Practice Link
Practice Link
Practice Link
www.learnbay.co
4 Median of Two Sorted Arrays
Problem: Find the median of two sorted arrays
Practice Link
Practice Link
Practice Link
www.learnbay.co
7 Merge Two Sorted Lists
Problem: Merge two sorted linked lists into one sorted list
PracticeLink
PracticeLink
9 Valid Parentheses
Problem: Determine if the input string of parentheses
is valid
Practice Link
www.learnbay.co
10 Search in Rotated Sorted Array
Problem: Search for a target value in a rotated sorted
array
PracticeLink
11 Combination Sum
Problem: Find all unique combinations of candidates
where the chosen numbers sum to the target
PracticeLink
12 Permutations
Problem: Return all possible permutations of a
collection of numbers
Practice Link
www.learnbay.co
13 Subsets
Problem: Return all possible subsets of a given array
PracticeLink
14 Word Search
Problem: Find if a word exists in a grid following specific
rules
PracticeLink
15 Climbing Stairs
Problem: Calculate the number of distinct ways to
reach the top of a staircase with `n` steps.
PracticeLink
www.learnbay.co
16 Coin Change
Problem: Find the minimum number of coins needed to
make a certain amount
PracticeLink
PracticeLink
PracticeLink
www.learnbay.co
19 Maximum Depth of Binary Tree
Problem: Find the maximum depth of a binary tree
PracticeLink
PracticeLink
PracticeLink
www.learnbay.co
22 Binary Tree Level Order Traversal
Problem: Return level-order traversal of a binary tree
PracticeLink
PracticeLink
PracticeLink
www.learnbay.co
25 Product of Array Except Self
Problem: Return an array `answer` where `answer[i]` is
the product of all elements of the array except `nums[i]`
PracticeLink
26 Maximum Subarray
Problem: Find the contiguous subarray with the
maximum sum
PracticeLink
27 Merge Intervals
Problem: Merge overlapping intervals
PracticeLink
www.learnbay.co
28 Insert Interval
Problem: Insert a new interval into a list of non-
overlapping intervals
PracticeLink
29 Non-overlapping Intervals
Problem: Find the minimum number of intervals to
remove to make the rest of the intervals non-overlapping
PracticeLink
30 Search a 2D Matrix
Problem: Search for a target value in an m x n matrix
PracticeLink
www.learnbay.co
31 Valid Anagram
Problem: Determine if two strings are anagrams of each
other
PracticeLink
32 Group Anagrams
Problem: Group strings that are anagrams of each other
PracticeLink
PracticeLink
www.learnbay.co
34 Sliding Window Maximum
Problem: Find the maximum in each sliding window of
size `k`
PracticeLink
PracticeLink
36 Number of Islands
Problem: Count the number of islands in a grid
PracticeLink
37 Word Search II
Problem: Find all words on the board
PracticeLink
www.learnbay.co
38 Course Schedule
Problem: Determine if you can finish all courses given the
prerequisites
PracticeLink
PracticeLink
40 Palindrome Partitioning
Problem: Partition a string such that every substring is a
palindrome
PracticeLink
www.learnbay.co