Explore Library
Quiz

Choosing the Right Core Pattern

Learn to match problem signals to two-pointers, BFS, or sorting-based approaches.

You must find the shortest path (fewest edges) from a start node to a target node in an unweighted graph. Which core pattern is the most appropriate choice?