Leetcode Problem 112. Easy Java Solution.

Click a thumbnail to watch in a lightweight modal. (No downloads — view only.)