Coding interview patterns, visualized

    Most interview problems are one of a dozen patterns in disguise. Each topic shows the pattern on an example, lists the signals that a problem needs it, and has interview questions to practise on.

    Topics marked "Code" have a coding challenge that runs your solution against test cases.

    Arrays and strings

    Stacks, queues and hashing

    Searching

    Intervals and greedy

    Trees, graphs and recursion

    Learn it as part of a path

    Related topics