Soon i will create a playlist for this too. As of now, you can refer to my github repo where i have detailed it: github.com/MAZHARMIK/Cpp-STL-Quick-Help
i have a question that, why are we making a separate result vector, once we have sorted our previously made vector cant we run a for loop on it for k times and get the out put ? please ans this question, you dont generally address comments, nice explanation btw.
My bad. Actually all my comments were under review due to restrictive settings. My bad. Let me address all the comments. Thanks a lot for the feedback ❤️
On your an : Since you only need to return k strings, you have to have a separate result vector where you put your final outcome. And talking about the vector vec; -> I took this because I can then sort it as per my requirement. Sorry If I could not clear much, but do let me know if there is any other confusion. Thanks again for your comment. Hope I could help ❤️❤️❤️
Bhai aapne comparator ki playlist banayi ho to vo playlist ki link mention kro na comment section me kyu ki muje nai mil rahi hai isliye.| aur muje sikhna hai how to write comparator logic code..
Hi there, As of now there is no dedicated comparator/lambda playlist . But I will soon create as soon as I get back to India. But for a glimpse, see this video ruclips.net/video/HwCYa1_2vkU/видео.htmlsi=OtZeEMo-i4dSFDqM Also click the link in the video Description - cpps_stl_quick_help
Small Correction : "Pocket Gems" - 00:39
Dude, you are too good in making things easy. You explain in the easiest way possible.
Thanks a lot. Please keep making these videos.
Thank you so much ❤️❤️ and sure I will.
Sir comparator k liye please video bna Dena
Noted Vibha. I will soon add them in my playlist. Appreciate your feedback ❤️
Soon i will create a playlist for this too. As of now, you can refer to my github repo where i have detailed it: github.com/MAZHARMIK/Cpp-STL-Quick-Help
i have a question that, why are we making a separate result vector, once we have sorted our previously made vector cant we run a for loop on it for k times and get the out put ? please ans this question, you dont generally address comments, nice explanation btw.
My bad. Actually all my comments were under review due to restrictive settings. My bad. Let me address all the comments. Thanks a lot for the feedback ❤️
On your an :
Since you only need to return k strings, you have to have a separate result vector where you put your final outcome.
And talking about the vector vec; -> I took this because I can then sort it as per my requirement.
Sorry If I could not clear much, but do let me know if there is any other confusion.
Thanks again for your comment. Hope I could help ❤️❤️❤️
please make something for comparators!
This should help :
1) ruclips.net/p/PLpIkg8OmuX-KtmrBzx-dAzRDp0xn_Xjls&si=IUAcEF1K7ZPmT2V0
2) github.com/MAZHARMIK/Cpp-STL-Quick-Help
for heap nlogk , what does k stand for here?
K is the size of heap.
Bhai aapne comparator ki playlist banayi ho to vo playlist ki link mention kro na comment section me kyu ki muje nai mil rahi hai isliye.|
aur muje sikhna hai how to write comparator logic code..
Hi there,
As of now there is no dedicated comparator/lambda playlist .
But I will soon create as soon as I get back to India.
But for a glimpse, see this video ruclips.net/video/HwCYa1_2vkU/видео.htmlsi=OtZeEMo-i4dSFDqM
Also click the link in the video Description - cpps_stl_quick_help
Thankyou very much!@@codestorywithMIK