You're viewing a single thread.
All Comments
56 comments
When you sacrifice memory for an O(1) algorithm.
In this case still O(n)
17 0 ReplySmh this is literally what switch statements are for
6 0 Reply
56 comments
Scroll to top
You're viewing a single thread.
When you sacrifice memory for an O(1) algorithm.
In this case still O(n)
Smh this is literally what switch statements are for