diff --git a/Daily/Equilibrium.cpp b/Daily/Equilibrium.cpp index c434c38f..5ce45d2b 100644 --- a/Daily/Equilibrium.cpp +++ b/Daily/Equilibrium.cpp @@ -26,22 +26,14 @@ Since there's only element hence its only the equilibrium point.*/ using namespace std; class Solution{ public: - // Function to find equilibrium point in the array. - // a: input array - // n: size of array int equilibriumPoint(long long a[], int n) { - if(n==1)return 1; - for(int i=1;i