While practicing from problemset. I often accidentally solve a problem from a contests like Kotlin Heroes. For easier questions, when I find that I can not submit it in C++, I overlook it and move to a different problem. However sometimes the problem is good and gives some nice practice. What approach do you take to check whether your code is correct, in such cases?
Thanks a lot this was very helpful