Top 37 Coding Interview Questions
Top 37 Coding Interview Questions
Practice Link
Practice Link
Practice Link
www.learnbay.co
4 Two Sum
Practice Link
Practice Link
Practice Link
www.learnbay.co
7 Search in Rotated Sorted Array
PracticeLink
8 Combination Sum
PracticeLink
9 Permutations
Problem: Return all possible permutations of a
collection of numbers
Practice Link
www.learnbay.co
10 Merge Two Sorted Lists
Problem: Merge two sorted linked lists into one sorted list
PracticeLink
PracticeLink
12 Valid Parentheses
Problem: Determine if the input string of parentheses
is valid
Practice Link
www.learnbay.co
13 Coin Change
PracticeLink
PracticeLink
PracticeLink
www.learnbay.co
16 Subsets
PracticeLink
17 Word Search
Problem: Find if a word exists in a grid following
specific rules
PracticeLink
18 Climbing Stairs
Problem: Calculate the number of distinct ways to
reach the top of a staircase with `n` steps.
PracticeLink
www.learnbay.co
19 Binary Tree Level Order Traversal
PracticeLink
PracticeLink
PracticeLink
www.learnbay.co
22 Maximum Depth of Binary Tree
PracticeLink
PracticeLink
PracticeLink
www.learnbay.co
25 Insert Interval
Problem: Insert a new interval into a list of non-
overlapping intervals
PracticeLink
26 Non-overlapping Intervals
Problem: Find the minimum number of intervals to
remove to make the rest of the intervals non-
overlapping
PracticeLink
27 Search a 2D Matrix
PracticeLink
www.learnbay.co
28 Product of Array Except Self
PracticeLink
29 Maximum Subarray
PracticeLink
30 Merge Intervals
Problem: Merge overlapping intervals
PracticeLink
www.learnbay.co
31 Sliding Window Maximum
PracticeLink
PracticeLink
33 Number of Islands
Problem: Count the number of islands in a grid
PracticeLink
34 Word Search II
Problem: Find all words on the board
PracticeLink
www.learnbay.co
35 Course Schedule
Problem: Determine if you can finish all courses given
the prerequisites
PracticeLink
PracticeLink
37 Palindrome Partitioning
PracticeLink
www.learnbay.co
38 Valid Anagram
Problem: Determine if two strings are anagrams
of each other
PracticeLink
39 Group Anagrams
PracticeLink
PracticeLink
www.learnbay.co