Are oop concepts required?

Are OOP concepts like inheritance,data hiding,operator overloading required in problem solving??


You don’t really have to write code that has to be read by others or do some real task or worry about security.

Also implementing those take more lines of code and hence more time, and since you want to submit your solutions as soon as possible it is not advisable to do so…


No,OOP concepts are not required for competitive programming.

These links might be helpful