Remove Element | Leetcode problem 27

Ғылым және технология

Remove Element
Leetcode problem number 27
Solution in JAVA
JAVA interview programming playlist:
• Interview Programming ...
Linkedin: / amrita-bala-a2b79460
#java #interviewquestions #leetcode

Пікірлер: 33

  • @varshapriyadarshini9822
    @varshapriyadarshini9822 Жыл бұрын

    Very nice explanation, after watching 5 videos finally I understood here.

  • @prakashradhakrishnan9354
    @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

  • @_NITESHMOTIVATION
    @_NITESHMOTIVATION3 ай бұрын

    thanks mam !that was a excellent solution....i am happy to learn this approach as it was small and effecient

  • @rinkuchoudhary226
    @rinkuchoudhary22611 ай бұрын

    simplest way to explain , love your voice , thanks for this amazing content

  • @TechnosageLearning

    @TechnosageLearning

    11 ай бұрын

    Thank you😊😊

  • @sandeepnarwal8782
    @sandeepnarwal878211 ай бұрын

    This is the best channel ❤❤❤

  • @saurabhvishwakarma9193
    @saurabhvishwakarma919310 ай бұрын

    really helpful.

  • @hybi666
    @hybi666 Жыл бұрын

    Huge thanks

  • @mohd.tabishkhan4868
    @mohd.tabishkhan4868 Жыл бұрын

    Thank you very much

  • @wllalsim123
    @wllalsim123 Жыл бұрын

    Very nice video👍👍

  • @karthick...
    @karthick... Жыл бұрын

    Thanks 👍😊

  • @NatureLover-oq6uc
    @NatureLover-oq6uc11 ай бұрын

    very helpfull

  • @Saurabh-fe2bg
    @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
    @memories8037 Жыл бұрын

    Thanks

  • @A7madYT
    @A7madYT9 ай бұрын

    this is only the first part of the quetion the other is missing

  • @NikCoder7
    @NikCoder7 Жыл бұрын

    But in this question saying that we do not have to use any extra space right?

  • @TechnosageLearning

    @TechnosageLearning

    11 ай бұрын

    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

    @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

  • @mohanant7557
    @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

  • @subodhnagarkar5572

    @subodhnagarkar5572

    2 ай бұрын

    it was used to moved the all elements that are not equal to val towards the beginning of the array.

  • @nirmalchakraborty8608
    @nirmalchakraborty8608 Жыл бұрын

    Request to create all the soln

  • @TechnosageLearning

    @TechnosageLearning

    Жыл бұрын

    Sure...stay connected..Will keep uploading more solutions

  • @nazim4525
    @nazim4525 Жыл бұрын

    Please solve LEETCODE 118 problem

  • @TechnosageLearning

    @TechnosageLearning

    Жыл бұрын

    Ok

  • @sunnysolanki2460
    @sunnysolanki24603 ай бұрын

    your voice is very sweet

  • @Shivam_guru

    @Shivam_guru

    Ай бұрын

    aagye chichore sahab

  • @sunnysolanki2460

    @sunnysolanki2460

    Ай бұрын

    @@Shivam_guru tu hoga chichora kamine

  • @099aravintakshan7
    @099aravintakshan76 ай бұрын

    give me the copy of this code

  • @TechnosageLearning

    @TechnosageLearning

    6 ай бұрын

    github.com/Technosagelearning/Technosage/blob/main/Interview_programming_solutions/RemoveElement.java

  • @thelazycat99
    @thelazycat997 ай бұрын

    but the question says you have to do in-place.

  • @brahmithegod9558
    @brahmithegod955811 ай бұрын

    It will not work because extra space is allocted

  • @TechnosageLearning

    @TechnosageLearning

    11 ай бұрын

    Hi..It will work..but there is a different approach to solve the question without allocating extra spaces..Will make a separate video on that! Thanks!

Келесі