dsc-gtbit / HacktoberFest-20-GTBIT-Competitive

2 stars 26 forks source link

High Complexity #19

Closed TheExecuter1 closed 3 years ago

TheExecuter1 commented 3 years ago

2 This program finds leader elements of an array.

It is solved with (On^2) . It can be solved with O(n). link - https://github.com/dsc-gtbit/HacktoberFest-20-GTBIT-Competitive/blob/master/Problem%20Solving/leadersInArray.cpp