logoalt Hacker News

bmachoyesterday at 7:05 AM1 replyview on HN

This would be the solution for any problem/algorithm, wouldn't it?

Factorize big numbers, sort an array, beat stockfish at chess, create a SOTA microkernel OS from English description. All O(1) with lookup table!

It's not how complexity works.


Replies

charcircuityesterday at 8:58 AM

>This would be the solution for any problem/algorithm, wouldn't it?

Yes, but it suffers from a large amount of space complexity, and probably would have high constant factors in practice.

show 2 replies