All Posts

Best Time To Buy And Sell Stock Ii Problem

LeetCode 122. You are given an integer array prices where...

Balanced Binary Tree Problem

LeetCode 110. Given a binary tree, determine if it is...

Symmetric Tree Problem

LeetCode 101. Given the root of a binary tree, check...

Maximum Depth of Binary Tree Problem

LeetCode 104. Given the root of a binary tree, return...

Convert Sorted Array to Binary Search Tree Problem

LeetCode 108. Given an integer array nums where the elements...

Construct Binary Tree from Preorder and Inorder Traversal Problem

LeetCode 105. Given two integer arrays preorder and inorder where...


Construct Binary Tree From Inorder And Postorder Traversal Problem

LeetCode 106. Given two integer arrays inorder and postorder where...

Binary Tree Zigzag Level Order Traversal Problem

LeetCode 103. Given the root of a binary tree, return...

Binary Tree Level Order Traversal Problem

LeetCode 102. Given the root of a binary tree, return...

Binary Tree Level Order Traversal II Problem

LeetCode 107. Given the root of a binary tree, return...

Validate Binary Search Tree Problem

LeetCode 98. Given the root of a binary tree, determine...

Same Tree Problem

LeetCode 100. Given the roots of two binary trees p...

Recover Binary Search Tree Problem

LeetCode 99. You are given the root of a binary...

Interleaving String Problem

LeetCode 97. Given strings s1, s2, and s3, find whether...


Word Search Problem

LeetCode 79. Given an m x n grid of characters...

Unique Binary Search Trees Problem

LeetCode 96. Given an integer n, return the number of...