Problems of greedy algorithm are intuitively confusing but surprisingly concise when riddle disclosed.
Description
A basic DFS tree problem.