Skip to content

Preparing for a developer job interview? list of problems for u to practice.

    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

     

    Sunil Kumar
    @sunilc_
    https://twitter.com/sunilc_/status/1453350418482966542?t=428VIO05R4NAMz8RwU1AoA&s=08