Leetcode Blog
AboutSearchTags
  • Oct 14, 2022

    Populating Next Right Pointers in Each Node - BFS+Queue O(1) space, O(n) time

    Binary Tree     Breadth-First Search     C++     Depth-First Search     Linked List     Medium     Tree    
  • Oct 14, 2022

    Delete the Middle Node of a Linked List - One pass tortoise and hare

    C++     Linked List     Medium     Two Pointers    
  • Oct 13, 2022

    Word Search - Help needed for DFS solution

    Array     Backtracking     Matrix     Medium    
  • Oct 13, 2022

    Flatten Nested List Iterator - Simple Recursion

    C++     Depth-First Search     Design     Iterator     Medium     Queue     Recursion     Stack     Tree    
  • Oct 13, 2022

    Delete Node in a Linked List - 3 solutions

    C++     Linked List     Medium    
  • Oct 12, 2022

    Course Schedule II - [Two methods] Kahn's Algorithm and DFS

    Breadth-First Search     C++     Depth-First Search     Graph     Medium     Topological Sort    
  • Oct 11, 2022

    Copy List with Random Pointer - C++ Hashmap

    C++     Hash Table     Linked List     Medium    
  • Oct 10, 2022

    Break a Palindrome - [6 liner] Simple logic simple solution

    C++     Greedy     Medium     String    
Previous         Page: 18 of 28         Next

Leetcode Blog

  • Leetcode Blog
  • piyush01123

A blog of all my leetcode discussion posts.