Are oop concepts required?

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

No.

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…

3 Likes

No,OOP concepts are not required for competitive programming.

These links might be helpful

https://www.quora.com/Is-OOPS-really-required-for-competitive-programming

https://www.quora.com/How-often-do-you-use-OOP-concepts-in-competitive-programming

https://www.quora.com/Do-we-need-OOPS-in-competitive-programming

//