Like many other software engineers, I have already solved some number of problems on LeetCode. So from today, I’ll try to share all my solutions here too. It would be easy for me to revisit problems and refresh my mind or it could be useful for someone too. Also I hope it will give me motivation to continue to solve some new problems, not everyday but 1–2 during a week, at least.
I don’t have any particular order, just gonna follow my notes. Also I have to mention that before, I liked to use different programming languages, but here I’ll share my solutions in C++ (and yes if you ask me, it is the best language for solving such problems).