Skip to content

Which algorithms should I use?

I see what you're saying. And I believe, that you believe it's important.

Personal note of programming algorithms and data structures.

  • Two pointers


    Left and right pointers, sliding window and fast-slow pointers.

    Problem characteristics

  • Recursion


    Recursion, backtracking and divide-and-conquer.

    Problem characteristics

  • Dynamic programming


    Dynamic programming, memoization and tabulation.

    Problem characteristics

  • Greedy


    The greedy algorithm.

    Problem characteristics