Leetcode Blog
AboutSearchTags
  • Oct 6, 2024

    Make Sum Divisible by P - Two Sum logic on prefix mod

    Array     C++     Hash Table     Medium     Prefix Sum    
  • Jul 11, 2024

    LRU Cache - Implementing an LRU Cache in C++: Step-by-Step Guide with Code Examples

    C++     Design     Doubly-Linked List     Hash Table     Linked List     Medium     Queue    
  • May 8, 2024

    Most Frequent Subtree Sum - Plain and simple DFS

    Binary Tree     C++     Depth-First Search     Hash Table     Medium     Tree    
  • Feb 25, 2024

    Greatest Common Divisor Traversal - Prime graph connectivity

    Array     C++     Depth-First Search     Hard     Math     Number Theory     Union Find    
  • Feb 25, 2024

    Find All People With Secret - UnionFind and Min-Heap solutions

    Breadth-First Search     C++     Depth-First Search     Graph     Hard     Heap (Priority Queue)     Sorting     Union Find    
  • Feb 11, 2024

    Cherry Pickup II - Clear concise 2D DP

    Array     C++     Dynamic Programming     Hard     Matrix    
  • Feb 5, 2024

    Maximum Good Subarray Sum - Prefix Sum + HashMap

    Array     C++     Hash Table     Medium     Prefix Sum    
  • Feb 3, 2024

    Partition Array for Maximum Sum - Top down and bottom up DP

    Array     C++     Dynamic Programming     Medium     Memoization    
Previous         Page: 1 of 28         Next

Leetcode Blog

  • Leetcode Blog
  • piyush01123

A blog of all my leetcode discussion posts.