Hacker News new | past | comments | ask | show | jobs | submit login

The parent is implying the inverse, that NP is contained within P.



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.


Whoops, you're totally right. I swear I re-read that three or four times before commenting and utterly failed to parse properly.


Happens to me all the time :)




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: