Best way of explanation. Whenever I have doubts on LeetCode problem, I come here and find solution with great explanation. Thank you for this much efforts.💕
if more than one number are missing then ?
This is actually great the solution is much better than other
Tq so much. very clear explanation.
Nice and easy explained ❤😊 di
#23/02/2024
This is a very interesting approach. Cyclic sort and follow up with locating the missing value also works too.
Great Explanation! Thank you so much...please keep uploading leetcode problems..
maam what if there is two missing number then this code will be failed
thank you so much, your way of explaination is awesome
wonderful approach
amazing solution
di plz tell me which graphic tablet you use plz its a humbel request plz plz plz plz plz
this asked me in yestarday interview
Nice
bhai sab test cases nahi pass karta
@@TechnosageLearningnahi horaha he madam you are not intialize the value of i so that is the error i can not be resolved
I have a doubt, In the for loop we are finding the SUM of given array which is cool, When we are doing the n(n+1)/2 formula- Here also we are checking the sum of nums array only (nums.length). I think we need to do do int n= nums.length+1; then int actualSum= (n*(n+1))/2 works. Is this approach correct. How it is showing correct output in your code is my confusion.