3 ms·
> Does it offer the optimal solution etc This is one of the drawbacks; No, it does not. The judge has a timer so you have to write code that is reasonable in r
by praneshp 9y ago
> Does it offer the optimal solution etc
This is one of the drawbacks; No, it does not. The judge has a timer so you have to write code that is reasonable in runtime and space, but nothing telling you if the answer is the most optimal one possible.
IMO, the ideal way to use it is to get a subscription, and then use the best feature: sort by company. At first glance, you'll notice that facebook asks very different problems than google. Once you select a problem, try solving it, and then make sure you click through to the forums and read the highly voted discussions. In many cases, I didn't find a more optimal solution, but picked up a lot of python tricks that made the solution elegant, etc.