Leetcode Blog
AboutSearchTags
  • Jan 28, 2024

    Number of Submatrices That Sum to Target - Subarray target sum properly explained

    Array     C++     Hard     Hash Table     Matrix     Prefix Sum    
  • Jan 26, 2024

    Out of Boundary Paths - DFS + Recursive Memoization

    C++     Depth-First Search     Dynamic Programming     Medium     Memoization     Recursion    
  • Jan 24, 2024

    Pseudo-Palindromic Paths in a Binary Tree - Simple DFS with palindrome test at leaves

    Binary Tree     Bit Manipulation     Breadth-First Search     C++     Depth-First Search     Medium     Tree    
  • Jan 16, 2024

    Insert Delete GetRandom O(1) - Swap with last element

    Array     C++     Design     Hash Table     Math     Medium     Randomized    
  • Jan 9, 2024

    Leaf-Similar Trees - Leaf Iterator

    Binary Tree     C++     Depth-First Search     Easy     Iterator     Tree    
  • Dec 30, 2023

    Minimum Difficulty of a Job Schedule - Simple concise code for top-down DP with intuition

    Array     C++     Dynamic Programming     Hard     Memoization    
  • Dec 23, 2023

    Partition Labels - Greedy logic

    C++     Greedy     Hash Table     Medium     String     Two Pointers    
  • Dec 18, 2023

    Minimum Cost to Make Array Equalindromic - Check one palindrome on each side of median

    Array     C++     Greedy     Math     Medium     Sorting    
Previous         Page: 2 of 28         Next

Leetcode Blog

  • Leetcode Blog
  • piyush01123

A blog of all my leetcode discussion posts.