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