3 ms·
I believe you're misreading the comment? It says "binary search is in NP (because it is in P)"... i.e. the fact that binary search is in P implies that it is in
by dataflow 3y ago
I believe you're misreading the comment? It says "binary search is in NP (because it is in P)"... i.e. the fact that binary search is in P implies that it is in NP. Which is true because P is a subset of NP.
- margalabargala 3y agoWhoops, you're totally right. I swear I re-read that three or four times before commenting and utterly failed to parse properly.
- dataflow 3y agoHappens to me all the time :)