3 ms·
Just for fun I took a crack at the maze problem and ended up with a (quasi-)linear time union-find solution. Maybe I over-engineered, but I'm very impressed if
by gsg 14y ago
Just for fun I took a crack at the maze problem and ended up with a (quasi-)linear time union-find solution. Maybe I over-engineered, but I'm very impressed if schoolkids are really learning about algorithms like that.