I often struggle with writing clean and efficient implementations, especially in problems where the code size can be significantly reduced using better techniques. While solving this problem, I submitted my solution and then, as usual, checked out Jiangly’s submission.
His code used very few variables and was structured so concisely that I struggled to understand much of it. I want to get better at writing shorter, cleaner, and more efficient implementations.
If you have any advice on how to learn good implementation techniques, I’d really appreciate it!









i also face similar issues but firstly, i am not able to solve problems, let go of the implementation thing :)