Array - 52: Segregate Odd & Even Numbers in given Array

  Рет қаралды 41,062

Coding Simplified

Coding Simplified

Күн бұрын

Пікірлер: 23
@shivamkumarjha3302
@shivamkumarjha3302 4 жыл бұрын
Just Keep on. Your content is better than famous youtube channels. Thank you so much.
@CodingSimplified
@CodingSimplified 4 жыл бұрын
Thanks for your nice feedback. Keep Watching.
@nikhilaggarwal9325
@nikhilaggarwal9325 4 жыл бұрын
Your content is really good please keep on posting videos. I have learnt a lot from you. Thanks
@CodingSimplified
@CodingSimplified 4 жыл бұрын
Thanks for your nice feedback. Keep Watching.
@karthikkoppala9664
@karthikkoppala9664 Жыл бұрын
Isn't the time complexity O(n^2)? Since we are using nested loop?
@something_different8968
@something_different8968 Жыл бұрын
so nice of you to make this simple. Thanks
@yoshitamahajan353
@yoshitamahajan353 4 жыл бұрын
Ur channel is so best!
@CodingSimplified
@CodingSimplified 3 жыл бұрын
Thanks for your nice feedback. Keep Watching.
@a9ocalypse
@a9ocalypse 2 жыл бұрын
Thanks a lot for this amazing explanation
@sysybaba420
@sysybaba420 Жыл бұрын
what if had to maintain order(stability) of all even and odd numbers, then how would the code/login look like?
@sakshitiwari4367
@sakshitiwari4367 2 жыл бұрын
Why we swap the value can you please explain
@altheadelavegadewites941
@altheadelavegadewites941 2 жыл бұрын
Your discussion are good, Would you please make a video on how to separate even and odd number from 1-100, Thankyou!!!
@CodingSimplified
@CodingSimplified 2 жыл бұрын
Thanks for your feedback. Sure, I'll try to do. Noted your question.
@phuongdinh3769
@phuongdinh3769 3 жыл бұрын
Hi I have 1 question, if you already put (left< right) in the big while loop, why do you still include it in the smaller while loop. Thanks
@itsabhinavbansal
@itsabhinavbansal 3 жыл бұрын
There's no need to do that... 👍
@NazmulAlom
@NazmulAlom 2 жыл бұрын
Amazing session.
@its_neel_ok
@its_neel_ok Жыл бұрын
how to sort this using in built sort function ---- sort(a.begin(), a.end(), [](int x, int y) { return x % 2 < y % 2; }); i got this code but didn't understand how can we manipulate sort function to our use?
@prasenjitmitra8434
@prasenjitmitra8434 3 жыл бұрын
Sir if we need to maintain the oder of numbers after segregation what we need to do
@godessGOAT
@godessGOAT 3 жыл бұрын
did u find out?
@chandramoulieshn6070
@chandramoulieshn6070 2 жыл бұрын
To make it effective, why don't we use "Lomuto’s Partition Scheme" --> lesser lines of code and provides the best understanding.
@areegahmed3926
@areegahmed3926 2 жыл бұрын
what if the odd numbers are more than the even?so the condition of right>left how will it work?
@surajgrandhi6742
@surajgrandhi6742 2 жыл бұрын
what to do if they ask in the sorted form of even and odd
@codewithfaizu1520
@codewithfaizu1520 2 жыл бұрын
suver
Array - 53: Segregate 0s & 1s in given Array
8:21
Coding Simplified
Рет қаралды 11 М.
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
My 10 “Clean” Code Principles (Start These Now)
15:12
Conner Ardman
Рет қаралды 303 М.
L6. Odd Even Linked List | Multiple Approaches
24:05
take U forward
Рет қаралды 111 М.
you will never ask about pointers again after watching this video
8:03
2,000 People Fight For $5,000,000
24:45
MrBeast
Рет қаралды 37 МЛН
Programming with Math | The Lambda Calculus
21:48
Eyesomorphic
Рет қаралды 246 М.
C Program To Re-arrange Even and Odd Elements of An Array
12:17
The Absolute Best Intro to Monads For Software Engineers
15:12
Studying With Alex
Рет қаралды 674 М.
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН