Array - 53: Segregate 0s & 1s in given Array

  Рет қаралды 11,760

Coding Simplified

Coding Simplified

Күн бұрын

Пікірлер
@shanp2248
@shanp2248 4 жыл бұрын
I had watched all the videos in this section. It's very clear and well explained.. Thank u so much for all ur hardwork and dedication. :) Please keep up the great work. It might help many people like me. I will start watching other videos. Thanks again :)
@CodingSimplified
@CodingSimplified 3 жыл бұрын
Thanks for your nice feedback. Sure we'll try to upload more like these. Keep Watching.
@rebhuroy3713
@rebhuroy3713 3 жыл бұрын
Thanks it is indeed good.. But i have 2 question 1. Why tc is o(n) i can see we are traversing another loop inside so it should be (n2) 2. Cant we use only f insted of while didn't find the actual use of inner while
@gangu74
@gangu74 2 жыл бұрын
TC is definitely not o(n)
@anjneykumarsingh4461
@anjneykumarsingh4461 4 жыл бұрын
Sir you teach very well, thanku
@CodingSimplified
@CodingSimplified 4 жыл бұрын
Thanks. Keep Watching.
@IT__KumariTejaswini-xv9ii
@IT__KumariTejaswini-xv9ii 4 жыл бұрын
Thank you so much for your great vedioes..... I have watch lots of your vedioes.. Best explaination .. You should sell your vedioes on udemy, coursera type websites.. Many can get benefits
@CodingSimplified
@CodingSimplified 4 жыл бұрын
Thanks for your nice words. Sure will look into this as well. Thanks. Keep Watching.
@IamDemotivated
@IamDemotivated 3 жыл бұрын
Thank u so much sir ❤️❤️
@CodingSimplified
@CodingSimplified 3 жыл бұрын
Thanks for nice feedback. Keep Watching.
@zainulkhan8381
@zainulkhan8381 2 жыл бұрын
Great explanation sir.
@jeeshanmansuri9262
@jeeshanmansuri9262 2 жыл бұрын
mera to segregate nhi ho raha zainul bhai
@zainulkhan8381
@zainulkhan8381 2 жыл бұрын
@@jeeshanmansuri9262 yehi code hai geeks for geeks bhi check krlo bro
@mr.anonymous5976
@mr.anonymous5976 Жыл бұрын
hlo sir, i like this playlist....... are you just stopped more in this.....???? its about 2 years now .....
@anjneykumarsingh4461
@anjneykumarsingh4461 4 жыл бұрын
Can you please upload time and space complexity lecture practical how to calculate on any problem and identifu
@CodingSimplified
@CodingSimplified 4 жыл бұрын
Sure, I'll try to create on it soon. Thanks. Normally Time complexity is: To solve a question, how many elements you need to traverse. If you need to traverse n element, it means time complexity is O(N). If you need to traverse log(N) element then it's O(Log(n)). Hope it helps you. Thanks.
@anjneykumarsingh4461
@anjneykumarsingh4461 4 жыл бұрын
Thanku sir, in so simple words you explain ,the real talented honest teachers are hidden and hard to find
@anjneykumarsingh4461
@anjneykumarsingh4461 4 жыл бұрын
Yes sir explain it when you will get time, again thanku
@CodingSimplified
@CodingSimplified 4 жыл бұрын
@@anjneykumarsingh4461 Thanks for your nice words.
@suvadip4876
@suvadip4876 2 жыл бұрын
In your solution there is a mistake between line 23 to 29. Dry run with 3 elements 1 0 1 . If we do left++, and right-- then this test case don't work.
@shindeajinkya2506
@shindeajinkya2506 4 ай бұрын
public class SeperateZeroAndOne { public static void main(String[] args) { int[] nums = {0,1,0,1,0,1}; int left=0,right=nums.length-1; System.out.println("Start it"); while(left
@Sakshi-vm7yb
@Sakshi-vm7yb 2 жыл бұрын
Sir you are hide a source code
@jayantsharma2669
@jayantsharma2669 4 жыл бұрын
Have you hide the array playlist? If so please unhide it.
@CodingSimplified
@CodingSimplified 4 жыл бұрын
It's not hidden. It's public. Please check it again & let me know if you still see issue.
@jayantsharma2669
@jayantsharma2669 4 жыл бұрын
@@CodingSimplified In mobile it is visible but in my pc it's hidden, I don't know what's the issue. Please hide it once and then make it public, may be it solved the issue. Thanks
@CodingSimplified
@CodingSimplified 4 жыл бұрын
@@jayantsharma2669 That's strange. Still I've done it as you mentioned. Hope it helps you. If not, either you search on google & let me know the solution or I'll try to see it. Also please see it from other user as well whether it's happening for all or only for your user.
@jayantsharma2669
@jayantsharma2669 4 жыл бұрын
@@CodingSimplified There is a sort button in the playlist section, when I click Sort on "last Video added" then the array playlist and other playlists are visible(other than the playlists before sorting). I have check other channels too, only limited playlists are shown there(on some channels). I have tried with other user accounts too but same thing happen. I think this issue is because of "Sort Button". And when I search "Coding Simplified Array Playlist" it directly shows me that playlist. Strange.
@shivamkumarjha3302
@shivamkumarjha3302 4 жыл бұрын
Sir, when will you reveal your identity ??
@CodingSimplified
@CodingSimplified 4 жыл бұрын
What's in Name bro. Let the right time come for it. Thanks for showing interest in channel :)
@haroonkhanday6510
@haroonkhanday6510 Жыл бұрын
I had watched all the videos in this section. It's very clear and well explained.. Thank u so much for all ur hardwork and dedication. :) Please keep up the great work. It might help many people like me. I will start watching other videos. Thanks again :)
Array - 52: Segregate Odd & Even Numbers in given Array
9:30
Coding Simplified
Рет қаралды 41 М.
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
Array - 42: Check if cycle is present in Circular array
20:01
Coding Simplified
Рет қаралды 16 М.
Sort colors | Leetcode #75
6:02
Techdose
Рет қаралды 86 М.
Array - 50: Find first missing positive number in given array
19:44
Coding Simplified
Рет қаралды 13 М.
Array - 16: Check if there exists a pair which matches given Sum
13:22
Coding Simplified
Рет қаралды 17 М.
Array - 43: Cyclic Sort | Sort the elements from 1 to n
13:39
Coding Simplified
Рет қаралды 16 М.
Array - 20: Union of Two Sorted Arrays
15:56
Coding Simplified
Рет қаралды 15 М.
Array - 12: Sort an array of 0s, 1s, 2s | Dutch National Flag Problem
9:59