int findMaximumGreatness( vector<int>&arr) {
int n = arr.size()
vector<int>v = arr;
sort(begin(v), end(v));
sort(begin(arr), end(arr));
int ans = 0;
int i = n - 1, j = n - 1;
while (i >= 0 && j >= 0) {
if (v[i] > arr[j]) {
ans++;
i--;
j--;
}
else {
j--;
}
}
return ans;
}Hey guys
Just to inform you guys
I'm phoenix who was admin of this channel is leaving this Channel ...
This group owner is someone different guy ...
Thanks !
@phoenixowns
Just to inform you guys
I'm phoenix who was admin of this channel is leaving this Channel ...
This group owner is someone different guy ...
Thanks !
@phoenixowns
Forwarded from Unrated Gang (admin)
Solutions Arena
everyone join this group https://t.me/unrated_gang
Request krke rkho
Ek do din me accept krta hu saath me sabka
Ek do din me accept krta hu saath me sabka
More thaN 200 recent OA question have been added
Guys I m trying to make a company wise directory or bot kind of thing
till then you can search the fn Name or any variable name
practise more and more from here ...
join ——- @all_oa_questions
Guys I m trying to make a company wise directory or bot kind of thing
till then you can search the fn Name or any variable name
practise more and more from here ...
join ——- @all_oa_questions
🔥8❤1👍1
GOOGLE all latest problems
OA + interview
please upvote it , else it gets deleted
OA + interview
please upvote it , else it gets deleted
👍1