Розмір відео: 1280 X 720853 X 480640 X 360
Показувати елементи керування програвачем
Автоматичне відтворення
Автоповтор
Hey, Thank you so much all your knowledge sharing. I am able to perform very nice in all my interviews. Keep up the good work. More power to you.Keep rocking!!!
Best of luck!
I believe we need to remove the key from the map when the value = 0 after subtraction. Otherwise, it will affect the count that is calculated later.
Do this insteadfor(auto i : m) count += abs(i.second); if(count
no it will not as 0 will be added in the sum
Mast solution hai so easy to implement
Mza aa gya sir..
What if the question is about shifting.....that is you can shift position of elements in a string to make both strings same
7:56 Sandeep Maheshwari🤣🤣🤣
😅
Bhaiya will u solve next permutations question
han beta, level2 mei
bool areKAnagrams(string str1, string str2, int k) { if(str1.length()> str2.length() || str1.length()second-minimum_f; its->second= its->second-minimum_f; } } for(auto x:m1){ count = count+x.second; } if(count
kaafi khud se hogya tha ye.
Hey, Thank you so much all your knowledge sharing. I am able to perform very nice in all my interviews. Keep up the good work. More power to you.
Keep rocking!!!
Best of luck!
I believe we need to remove the key from the map when the value = 0 after subtraction. Otherwise, it will affect the count that is calculated later.
Do this instead
for(auto i : m)
count += abs(i.second);
if(count
no it will not as 0 will be added in the sum
Mast solution hai so easy to implement
Mza aa gya sir..
What if the question is about shifting.....that is you can shift position of elements in a string to make both strings same
7:56 Sandeep Maheshwari🤣🤣🤣
😅
Bhaiya will u solve next permutations question
han beta, level2 mei
bool areKAnagrams(string str1, string str2, int k)
{
if(str1.length()> str2.length() || str1.length()second-minimum_f;
its->second= its->second-minimum_f;
}
}
for(auto x:m1){
count = count+x.second;
}
if(count
kaafi khud se hogya tha ye.