Commit Graph

2 Commits

Author SHA1 Message Date
98eeb321d1 day 15
got both answers first try!
slow af solution. I hoped that keeping the solution O(j) would be quick
enough and seems like it is, takes around ~10 seconds to complete but
that is achievable. For each j it breaks the row into intervals
generated based on the taxicab radius. The intervals are simplified
by sorting and joining.
2022-12-15 17:51:52 +08:00
4e7b2ce48b Initial commit 2022-11-29 17:26:17 +08:00