An ultimate optimizer is math.
Thou shalt not brutforce.
When in doubt, sort.
- Code Review 52.1k 52.1k 44 gold badges4646 silver badges131131 bronze badges
- Stack Overflow 7.1k 7.1k 11 gold badge1111 silver badges2424 bronze badges
- Mathematics 2.4k 2.4k 99 silver badges1414 bronze badges
- Worldbuilding 1.9k 1.9k 66 silver badges1515 bronze badges
- Chess 1.5k 1.5k 99 silver badges1010 bronze badges
- View network profile
Top network posts
- 42 Finding an element without pair in a list O(n**2)
- 37 Car crash reaction time
- 31 How to add multiple strings to a set in Python?
- 30 Why did I lose on time with three pawns versus a knight? Shouldn't it be a draw?
- 26 "Harmonacci" recurrence and identities for $\pi$
- 26 Raspberry PI controllable car (code for a 6-year old)
- 22 Tests for palindromes in C and C++
- View more network posts →