[CS Academy] Surrounded RectangleRead more
[CS Academy] Server HackingRead more
[CS Academy] RoomsRead more
[Codeforces] Round 706 (Div. 1) B. Let`s Go HikingRead more
[Codeforces] Round 715 (Div. 1) A. Binary LiteratureRead more
[Codeforces] Round 713 (Div. 3) F. EducationRead more
[Codeforces] Round 721 (Div. 2) B2. Palindrome Game (hard version)Read more
[Codeforces] Round 730 (Div. 2) C. Need for Pink SlipsRead more
[LeetCode] Minimum Depth of Binary Tree

111. Minimum Depth of Binary Tree

Given a binary tree, find its minimum depth.

The minimum depth is the number of nodes along the shortest path from the root node down to the nearest leaf node.

Note: A leaf is a node with no children.

Read more
[Codeforces] Round 732 (Div. 1) B. AquaMoon and ChessRead more