Hi Rupesh, I'm a big fan of your channel. With the help of your channel, I have learned most of the C++, Smart Pointer, STL, Algo's, and threading concepts. Keep going. Here I do have some questions, What happens when the array is like this N=5, use Case-1: A1[ 1,2,3,3,5 ] ? use case-2: A2[1,2,6,3,5] ..?
Hi rupesh, you doing great stuff and thanks for knowledge and time ,and also i am sharing cpp nuts in my organization and also known institute ,whenever anybody ask about cpp i will share cpp nuts that much i loved the channel. thank you
Hi Rupesh, I'm a big fan of your channel. With the help of your channel, I have learned most of the C++, Smart Pointer, STL, Algo's, and threading concepts. Keep going. Here I do have some questions, What happens when the array is like this N=5, use Case-1: A1[ 1,2,3,3,5 ] ? use case-2: A2[1,2,6,3,5] ..?
Hi Vijay
Actually ye sab standard questions hai..
No doubt you can change but then solution will also have to change.
@@CppNuts but sir question why has take n is 5. why n is not take 10 or any other number
Fantastic approach
Hi, I feel there is something missing in this logic. If you have a for loop you will overflow as the array would have one element less.
What if there is same element repeated 2-3 times, then it will not work
Hi rupesh, you doing great stuff and thanks for knowledge and time ,and also i am sharing cpp nuts in my organization and also known institute ,whenever anybody ask about cpp i will share cpp nuts that much i loved the channel.
thank you
Amazing explanation ❤
If there is two number is missing so how can we solve that
Pls improve your Explaination in sense.. Talk slow and explain still more easily with examples