I check ChatGPT for optimizing my Leetcode solution everyday. It rarely optimizes it without breaking the code.
Sometimes the only optimization that I get from it is that it tells me to use Datastructure X instead of Y because it is better in this kind of problem.
Viewing a single comment thread. View all comments