Surrounded Rectangle
Server Hacking
Rooms
Codeforces Round 706 (Div. 1) B. Let’s Go Hiking
Codeforces Round 715 (Div. 1) A. Binary Literature
Codeforces Round 713 (Div. 3) F. Education
Codeforces Round 721 (Div. 2) B2. Palindrome Game (hard version)
Codeforces Round 730 (Div. 2) C. Need for Pink Slips
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.
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.
Codeforces Round 732 (Div. 1) B. AquaMoon and Chess