Top 150 interview question series Remove Duplicates from Sorted Array 2 Leetcode problem number 80 JAVA interview programming playlist: • Interview Programming ... Git Repo: github.com/Technosagelearning...
Пікірлер: 26
@muhammadomersaleem49192 ай бұрын
Explanation is different from the code solution. If n == nums[i-2], 'i' doesn't increment in the code but in the explanation.
@dineshvasireddy5 ай бұрын
Great intuition and the approach was perfect comparing to the complex Leetcode editorial approaches.
@mayukh_13 күн бұрын
Essentially this not in constant space. Because in the for loop, you are creating another copy for the array.
@user-bl1gg1ff1q6 ай бұрын
class Solution { public int removeDuplicates(int[] nums) { int c=0; for(int i=0;i
@oxanasf6369 Жыл бұрын
Wow, what a great explanation and a beautiful algorithm!
@ShubhamKumar-yz2yz Жыл бұрын
Amazing, very easy explanation, thank you
@nazim4525 Жыл бұрын
I love your teaching style
@JackCoderr6 ай бұрын
best explaination and clear mam, thank you so much mam
@bobosian Жыл бұрын
Crazy. Good job there.
@gurudassulebhavikar7 ай бұрын
Hey Amrita can you please finish this playlist? Not sure why you stopped making videos on this 150 interview question series. But out of all the channels on youtube I found only this channel where I was able to understand the solutions easily. Please continue making more videos. 🙏 Thank you.
@TechnosageLearning7 ай бұрын
Hello, I am glad to know that the solutions presented here helped you. Due to some medical emergency we have reduced the pace, soon will start working on more solutions. please stay tuned. Thankyou for the understanding. 🙏
@ChaudharySaab05 Жыл бұрын
Well Explained dear
@avanishkumar16898 ай бұрын
good sol and well explained
@vivekmalviya30362 ай бұрын
Thank u ❤❤❤
@jason-rv5spАй бұрын
Great explanation. the key point is nums[i] != num[i-2]. But why in the code it becomes n != nums[i-2] ?
@vinayvardhanyt24157 ай бұрын
In interviews they are going to ask in place modification of the array.
@saurabhvishwakarma919310 ай бұрын
great
@codingbitsnbytes7 ай бұрын
Mam, it would be great if you give your linkedin profile in the description, and also tell your full name, it would help to make connection
@KRRSPORTS2 ай бұрын
if array is like that 1 2 3 4 4 4 5 5 6 in that what about 2 element
@DeepakSingh-li1oe2 ай бұрын
respect++
@AyushTiwari-vv2xk Жыл бұрын
mam why this solution not working class Solution { public int removeDuplicates(int[] nums) { int j=0; for(int i=0;i
@vikeshkumarmahto168 ай бұрын
class Solution { public: int removeDuplicates(vector& nums) { int j=2; int k=nums.size(); if (k
@vikeshkumarmahto168 ай бұрын
@@Sowmyakotha-lj8te see the code I will do it same
@mohammedmusaib44897 ай бұрын
bro because we not exactly comparing i with previous i-2 element
@surajsidar22944 ай бұрын
@@mohammedmusaib4489 for this test case [1,1,1,2,2,3] if you compare with i-2 it won't work. You have to compare with j-2