Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
plin25
on Jan 8, 2019
|
parent
|
context
|
favorite
| on:
Algorithms, by Jeff Erickson
I believe this is a trick question. The "standard" chess board is 8x8, with a 32 possible pieces. This gives you a constant (albeit absurdly large) number of configurations, which means that the one-line solution "Brute Force" is an O(1) algorithm.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: