Remove Element Leetcode problem number 27 Solution in JAVA JAVA interview programming playlist: • Interview Programming ... Linkedin: / amrita-bala-a2b79460 #java #interviewquestions #leetcode
Пікірлер: 33
@varshapriyadarshini9822 Жыл бұрын
Very nice explanation, after watching 5 videos finally I understood here.
@prakashradhakrishnan93548 ай бұрын
Hi mam! you using for loop .by using that time complexity o(n)if there (N) no of arr ,what is the best method to use under the time complexity
@_NITESHMOTIVATION3 ай бұрын
thanks mam !that was a excellent solution....i am happy to learn this approach as it was small and effecient
@rinkuchoudhary22611 ай бұрын
simplest way to explain , love your voice , thanks for this amazing content
@TechnosageLearning11 ай бұрын
Thank you😊😊
@sandeepnarwal878211 ай бұрын
This is the best channel ❤❤❤
@saurabhvishwakarma919310 ай бұрын
really helpful.
@hybi666 Жыл бұрын
Huge thanks
@mohd.tabishkhan4868 Жыл бұрын
Thank you very much
@wllalsim123 Жыл бұрын
Very nice video👍👍
@karthick... Жыл бұрын
Thanks 👍😊
@NatureLover-oq6uc11 ай бұрын
very helpfull
@Saurabh-fe2bg8 ай бұрын
Well this solution is good in its place, what if the question considers to be having an impact with moving the other digits to the end ...that would be more interesting
@memories8037 Жыл бұрын
Thanks
@A7madYT9 ай бұрын
this is only the first part of the quetion the other is missing
@NikCoder7 Жыл бұрын
But in this question saying that we do not have to use any extra space right?
@TechnosageLearning11 ай бұрын
Hi..Yes..We don't have to use an extra space.. I will make a separate video on that approach without using any extra spaces.. Thanks!
@11csepratikshaargulewar71Ай бұрын
Aren't we using no extra space .since we are modifying the input array i .e in-place itself as question asks.the code would work fine with O(n) time complexity .correct me if i am wrong
@mohanant755710 ай бұрын
From the question, I can see that we should not use another array that very much increases the space complexity and it defeats the whole purpose of two pointer concept
@subodhnagarkar55722 ай бұрын
it was used to moved the all elements that are not equal to val towards the beginning of the array.
@nirmalchakraborty8608 Жыл бұрын
Request to create all the soln
@TechnosageLearning Жыл бұрын
Sure...stay connected..Will keep uploading more solutions