21
u/JAMIEISSLEEPWOKEN 9h ago
……you want a hashmap…?
8
u/swagnation77 8h ago
lmao yeah if I did a hashmap the solution would've been better, but the proofs would've taken me 10x as long. (I spent two days on a single algorithm)
21
……you want a hashmap…?
8
u/swagnation77 8h ago
lmao yeah if I did a hashmap the solution would've been better, but the proofs would've taken me 10x as long. (I spent two days on a single algorithm)
47
u/MistakeIndividual690 8h ago
I don’t know what Lean is but what for the love of god is this…
TwoSum is like eight lines in Python
But this is clearly the perfect post for this sub