Coding Interview preparation problems for beginners
1871

*The following are the curated list of problems for beginners/intermediate level coders to get good experience on solving algorithmic problems. These set of problems will help you to identify the patterns in problem and apply suitable algorithmic approach. *

  1. Two sum
  2. Remove Duplicate from sorted array
  3. Plus One
  4. Search in rotated sorted array
  5. Merge sorted array
  6. Maximum Subarray
  7. Find Peak element
  8. Majority Element
  9. Max consecutive one
  10. Best time to buy stocks
  11. Min cost climbing stairs
  12. Move Zeros
  13. Valid Mountain Array
  14. Pascals Triangle
  15. Sort Colors
  16. Best time to buy and sell stock ii
  17. Maximum size of array after K negations
  1. Reverse words
  2. Implement StrStr
  3. Longest Palindromic Substring
  4. String to Integer
  5. Valid Parenthesis
  6. Letter combination of phone number
  7. Longest substring without repeating characters
  8. Count and say
  9. Generate parenthesis
  10. Reverse vowels of string
  11. Minimum add to make parentheses valid
  1. Find winner
  2. Number of islands
  3. Unique Paths
  4. Rotting Oranges
  5. Shortest Path in 2D Matirx
  6. Rotate Image
  1. Symmetric tree
  2. Binary tree Level order traversal
  3. Maximum depth of binary tree
  4. Construct binary tree
  5. Lowest common ancestor of BST
  1. Add two numbers
  2. Cycle in linkedlist
  3. Merge K sorted list

This curated list will also be useful in preparation for your coding interview.

Also check out these medium articles on how to approach a problem during interview

  1. How to approach any algorith interview
  2. Dynamic programming made easy
  3. How to solve a problem like googler

Thanks for reading and happy Coding!!!!

Comments (0)