These tree and graph problems come from [[u:/roadmaps/pattern-22|Pattern ]] and the MAANG roadmap. Solve them before continuing.
Number of Islands and Course Schedule test BFS/DFS and topological sort. Amazon asks these because dependency resolution and grid search mirror systems they build.
Merge Two Sorted Lists is a short linked list problem, but You're expected clean pointer handling and the dummy node trick.