Remove Element | Leetcode problem 27

  Рет қаралды 30,018

Technosage

Technosage

Жыл бұрын

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
@prakashradhakrishnan9354 8 ай бұрын
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
@_NITESHMOTIVATION 3 ай бұрын
thanks mam !that was a excellent solution....i am happy to learn this approach as it was small and effecient
@rinkuchoudhary226
@rinkuchoudhary226 11 ай бұрын
simplest way to explain , love your voice , thanks for this amazing content
@TechnosageLearning
@TechnosageLearning 11 ай бұрын
Thank you😊😊
@sandeepnarwal8782
@sandeepnarwal8782 11 ай бұрын
This is the best channel ❤❤❤
@saurabhvishwakarma9193
@saurabhvishwakarma9193 10 ай бұрын
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-oq6uc 11 ай бұрын
very helpfull
@Saurabh-fe2bg
@Saurabh-fe2bg 8 ай бұрын
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
@A7madYT 9 ай бұрын
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
@mohanant7557 10 ай бұрын
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
@sunnysolanki2460 3 ай бұрын
your voice is very sweet
@Shivam_guru
@Shivam_guru Ай бұрын
aagye chichore sahab
@sunnysolanki2460
@sunnysolanki2460 Ай бұрын
@@Shivam_guru tu hoga chichora kamine
@099aravintakshan7
@099aravintakshan7 6 ай бұрын
give me the copy of this code
@TechnosageLearning
@TechnosageLearning 6 ай бұрын
github.com/Technosagelearning/Technosage/blob/main/Interview_programming_solutions/RemoveElement.java
@thelazycat99
@thelazycat99 7 ай бұрын
but the question says you have to do in-place.
@brahmithegod9558
@brahmithegod9558 11 ай бұрын
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!
15. Remove Element Theory (Leetcode #27)
7:59
Anuj Baranwal
Рет қаралды 6 М.
ТАМАЕВ УНИЧТОЖИЛ CLS ВЕНГАЛБИ! Конфликт с Ахмедом?!
25:37
Зачем он туда залез?
00:25
Vlad Samokatchik
Рет қаралды 3,2 МЛН
I Solved 1583 Leetcode Questions  Here's What I Learned
20:37
ThePrimeTime
Рет қаралды 582 М.
Single-Dimensional Arrays in Java (Part 1)
9:15
Neso Academy
Рет қаралды 190 М.
Remove Duplicates From Sorted Array | Brute | Optimal
10:47
take U forward
Рет қаралды 124 М.
remove element leetcode | Solution in java | hindi
7:56
Confused Geek
Рет қаралды 5 М.
АЙФОН 20 С ФУНКЦИЕЙ ВИДЕНИЯ ОГНЯ
0:59
КиноХост
Рет қаралды 1,1 МЛН
Look, this is the 97th generation of the phone?
0:13
Edcers
Рет қаралды 4,7 МЛН
Какой ноутбук взять для учёбы? #msi #rtx4090 #laptop #юмор #игровой #apple #shorts
0:18
Samsung laughing on iPhone #techbyakram
0:12
Tech by Akram
Рет қаралды 680 М.