logoalt Hacker News

jojomoddingyesterday at 11:41 PM1 replyview on HN

LeetCode problems typically are in P. The challenge is finding out why.


Replies

mcmoortoday at 4:57 AM

Yeah I think the trivial solution is always harder complexity and the main challenge is to lower it. Either from NP to P or from n*2 to n log n.