Samsung Advanced Test: Mario game path or Graph cycle
Filed under Samsung
The question
In attempt 1, find the minimum distance to reach the end of a Mario-like game. In attempt 2, given a graph, find whether a cycle exists and print it in sorted order.
No write-up yet. Related questions below have one.
Related Samsung questions
Collected from public candidate posts and coding forums. Updated Nov 2026.