Thanks for this video tutorial. The way you explained and broke down the question was very helpful. You have yourself a new subscriber!
@Abhinav_2060Күн бұрын
The easiest and efficient solution I have seen for this solution . Thanks
@mrmani1700Күн бұрын
your Explanation was Awsome! Thank you so much bhaiya❤
@Its_Shubham_NegiКүн бұрын
Waiting for next two ❤❤❤
@beinghappy922316 сағат бұрын
How do you come up with such solution ? I coded this and got TLE for obvious k constraint class Solution { public: int maxDistinctElements(vector& nums, int k) { sort(nums.begin(),nums.end()); int n = nums.size(); setb; for(int i=0;i