I solved almost all of free problems on LeetCode using AI

3 tevlon 5 5/20/2025, 10:09:41 PM old.reddit.com ↗

Comments (5)

cratermoon · 42d ago
I'm sure all the free problems from LeetCode are in the training sets, so I don't think this is much of a flex.
tevlon · 42d ago
i was thinking the same. And i am sure it is in the training set, but i couldn't solve 10 hard problems. Also, most of the hard problems, the LLMs weren't able to solve in one shot. How do you explain this?
cratermoon · 42d ago
There are many more correct answers to the easy problems than to the hard ones. Thus the LLM is more likely to hit upon the correct completion for them.
tevlon · 42d ago
makes sense
whobre · 42d ago
Alright, but how can this exercise help them pass an interview? The point of leetcode is to memorize the solutions so one can do well in an interview; yes, I agree it’s ridiculous.