I’ll start with what I do not mean by this question. I know you need to know programming and data structures, but what I am asking about is specific algorithms and theorems.

The ones I can enumerate now (edited after some answers):

Mega guide link

  • Sekoia
    link
    fedilink
    arrow-up
    4
    ·
    8 hours ago

    Not an algorithm or theorem, but specializing to the input is a good general tip to at least get an answer ime

    In terms of algorithms: flood fill is useful, a few other graph algos like min-cut/max-flow come in useful sometimes.