23 ms·
That's interesting. My Algorithms professor illustrated this point by handing us Kirkman's schoolgirl problem[0] as a homework assignment. Sure the naive solut
by OkayPhysicist 4y ago
That's interesting. My Algorithms professor illustrated this point by handing us Kirkman's schoolgirl problem[0] as a homework assignment. Sure the naive solution falls into the category of "intractable withing the lifespan of the universe", but with some clever heuristics you can find one of the solutions quickly (A lackluster program in a couple minutes, a well-thought-through one instantly).
[0] https://en.wikipedia.org/wiki/Kirkman%27s_schoolgirl_problem https://en.wikipedia.org/wiki/Kirkman%27s_schoolgirl_problem