Sunil Kumar's profile picture
Sunil Kumar
@sunilc_
View on Twitter

Preparing for a developer job interview?

Here's a ๐Ÿงต on the list of problems in each category you should practice:

๐Ÿ‘‡๐Ÿป

Arrays:

  • Two Sum
  • Best Time to Buy and Sell Stock
  • Contains Duplicate
  • Product of Array Except Self
  • Maximum Subarray
  • Maximum Product Subarray
  • Find Minimum in Rotated Sorted Array
  • Search in Rotated Sorted Array
  • 3Sum
  • Container With Most Water

๐Ÿ‘‡๐Ÿป

Strings:

  • Longest Substring Without Repeating Characters
  • Longest Repeating Character Replacement
  • Minimum Window Substring
  • Encode and Decode Strings
  • Valid Anagram
  • Valid Parentheses
  • Valid Palindrome
  • Longest Palindromic Substring
  • Palindromic Substrings

๐Ÿ‘‡๐Ÿป

Binary Trees:

  • Maximum Depth of Binary Tree
  • Same Tree
  • Invert or Flip Binary Tree
  • Binary Tree Maximum Path Sum
  • Binary Tree Level Order Traversal
  • Serialize and Deserialize Binary Tree
  • Subtree of Another Tree ...

๐Ÿ‘‡๐Ÿป

...

  • Construct Binary Tree from Preorder and Inorder Traversal
  • Validate Binary Search Tree
  • Kth Smallest Element in a BST
  • Lowest Common Ancestor of BST

๐Ÿ‘‡๐Ÿป

Binary:

  • Sum of Two Integers
  • Number of 1 Bits
  • Counting Bits
  • Missing Number
  • Reverse Bits

๐Ÿ‘‡๐Ÿป

Dynamic Programming:

  • 0/1 Knapsack
  • Climbing Stairs
  • Coin Change
  • Longest Increasing Subsequence
  • Longest Common Subsequence
  • Word Break Problem
  • Combination Sum
  • House Robber and House Robber II
  • Decode Ways
  • Unique Paths
  • Jump Game

๐Ÿ‘‡๐Ÿป

Graphs:

  • Clone Graph
  • Course Schedule
  • Alien Dictionary
  • Pacific Atlantic Water Flow
  • Number of Islands
  • Graph Valid Tree
  • Number of Connected Components in an - - - - Undirected Graph
  • Longest Consecutive Sequence

๐Ÿ‘‡๐Ÿป

Linked Lists:

  • Reverse a Linked List
  • Detect Cycle in a Linked List
  • Merge Two Sorted Lists
  • Merge K Sorted Lists
  • Remove Nth Node From End Of List
  • Reorder List

๐Ÿ‘‡๐Ÿป

Matrix:

  • Set Matrix Zeroes
  • Spiral Matrix
  • Rotate Image
  • Word Search

๐Ÿ‘‡๐Ÿป

Heap:

  • Merge K Sorted Lists
  • Top K Frequent Elements
  • Find Median from Data Stream

๐Ÿ‘‡๐Ÿป

Intervals:

  • Insert Interval
  • Merge Intervals
  • Meeting Rooms and Meeting Rooms II
  • Non-overlapping Intervals
Help us raise more money for charities by sharing this content โ™ฅ๏ธ
Wait! Before you go...
Grab Exclusive Deals for Books, Courses, Software.
100% of Profits Are Donated To Research-Backed Charities.