Closed TheExecuter1 closed 3 years ago
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
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