Lavish Saluja

Results 3 comments of Lavish Saluja

Oh okay! I'll try to make change for each, I apply to/search for this year.

@bhasindhruv117 True, there should be an if condition. `int Solution::solve(vector &v) { sort(v.begin(), v.end()); int n = v.size(); for(int i = 0; i < n; i++){ if(i != n-1) if(v[i]...