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.
Abikdig t1_jdtail3 wrote
Reply to [D] GPT4 and coding problems by enryu42
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.