Skip to content

Commit 95bf80f

Browse files
committed
Day 18: Add Allan's suggestion to think harder
1 parent c945599 commit 95bf80f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

day18/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,8 @@ valued dimension to maximize efficiency.
6464

6565
I'll update this soluiton once I think of an even more optimal approach.
6666

67+
@apengwin says there's a known `O(m + n)` solution to this problem and
68+
that I should "Think about using the sorted-ness of the matrix to my
69+
advantage".
70+
71+

0 commit comments

Comments
 (0)