PinnedLeetcode 104: Maximum Depth of Binary TreePost-order depth-first search (DFS)Aug 13, 2023Aug 13, 2023
PinnedLeetcode 206: Reverse (Singly) Linked ListIterative and recursive solutions explained with analogiesAug 12, 2023Aug 12, 2023
Leetcode 408: Valid Word AbbreviationTwo pointers track two strings and check constraints/conditionsAug 28, 2023Aug 28, 2023
Leetcode 1570: Dot Product of Two Sparse VectorsHash table for sparse vector representationAug 28, 2023Aug 28, 2023
Leetcode 314: Binary Tree Vertical Order TraversalBread-first search (BFS) with queue; Column index tracking with hash tableAug 27, 2023Aug 27, 2023
Leetcode 1762: Buildings with an ocean viewIteration starts from the ocean side and moves inward; monotonic stackAug 27, 2023Aug 27, 2023
Leetcode 98: Validate Binary Search TreeAn In-order traversal DFS implementation for binary search tree (BST)Aug 21, 2023Aug 21, 2023