leetcode: Minimum Depth of Binary Tree

I give two different solutions here which reflect two different thinking: (1) recursive thinking, (2) DFS oriented. I also explain several noteworthy points after giving the source code.
Read More