Better HN
topnewbestaskshowjobs
Log inSign up

plin25

3 karma · joined Jan 8, 2019 (7y ago) · 1 submissions

Submissions

comment 7y ago · link · parent

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.