Загрузка...

Sort a Linked List of 0s, 1s and 2s | DSA in Java Full Course #44

Learn how to sort a linked list of 0s, 1s and 2s in Java using an efficient approach. This is a popular coding interview question asked in companies like Amazon, Microsoft & MakeMyTrip.

In this video, we cover the optimal solution, dry run, and code explanation step-by-step. Perfect for DSA preparation, placements & beginners to advanced learners.

🚀 Complete DSA in Java Course

Problem Link : https://www.geeksforgeeks.org/problems/given-a-linked-list-of-0s-1s-and-2s-sort-it/1

📚 DSA in Java Full Course Playlist:
https://youtube.com/playlist?list=PL-CeQccLavFfRoz9abuwvflSwCwcZTyYo

📂 Code Repository:
https://github.com/sumanmalakar/DSA_In_JAVA_YouTube

📝 Notes:
https://drive.google.com/drive/u/0/folders/1-wk8nrebq2jM17T9pOkoXmyp83jk8fNo

🎯 Other Popular Playlists:
Full Stack Web Development:
https://youtube.com/playlist?list=PL-CeQccLavFeytqS_ALj97JNd4PF4gc1z

Java Complete Playlist:
https://youtube.com/playlist?list=PL-CeQccLavFeIZQvuDtPdDd73kFWE5BtU

Latest React 19 Playlist:
https://youtube.com/playlist?list=PL-CeQccLavFdWbvPJLg2ig-ImCNmf44mj

📢 Support the Channel:
If our tutorials inspired you, consider donating to support free quality content:
https://drive.google.com/file/d/10GBJrIIn0FMc_Vpn9apxsuoLrkzLM3Vi/view

TIMESTAMPS
00:00:00 | Intro
00:00:10 | Ques : Sort a Linked List of 0s, 1s and 2s
00:01:00 | Approach - 1
00:06:56 | Approach - 2 [ Optimise ]
00:12:29 | Let's write code
00:18:12 | Dry Run
00:28:05 | Time & Space Complexity...?
00:28:29 | Outro

Join Our WhatsApp Channel :- https://whatsapp.com/channel/0029VabOmJhIyPtSTIL1Bh2b

Mastery Courses :- https://www.youtube.com/playlist?list=PL-CeQccLavFcu9gbG_KePLzXanujKTOmS
Crash Course :- https://www.youtube.com/playlist?list=PL-CeQccLavFccTNnwZ46nb3KsWPeqi6TU
React Animated Portfolio Website :- https://youtu.be/cWYKs1pu6s4?si=t-vqVFc9JZ3u7Fdd
React Shopping Cart Project :- https://www.youtube.com/watch?v=wtEp_Y2kmO8
React.js Project playlist :- https://www.youtube.com/playlist?list=PL-CeQccLavFcv3HWlDz9XrL62dRtXHF4l
All React Hooks In One Shot :- https://youtu.be/5UGMn--LRd4?si=53qj1xbshhnUZov4
Node.js playlist :- https://youtube.com/playlist?list=PL-CeQccLavFd-n_5m08c-caLIp5uNV_ZY&si=hxDpOfZUA1-z51zO
MERN E - Commerce :- https://youtu.be/qP75zfeDpQc?si=CzKsU1lHWANWhnfJ

►My Girlfriend :- https://amzn.to/3EvmSkD

Reach Me Out
-----------------------------------------------------------------------------------------------------------------------
Linkedin :- https://www.linkedin.com/in/suman-malakar/
Instagram :- https://www.instagram.com/suman_malakar001/
facebook :- https://www.facebook.com/sumankumar.malakar.9/
GitHub :- https://github.com/sumanmalakar
-----------------------------------------------------------------------------------------------------------------------

Product I use for coding and YouTube
-----------------------------------------------------------------------------------------------------------------------
Laptop :- https://amzn.to/4oloWRG
SSD :- https://amzn.to/47NUp7c
HardDisk :- https://amzn.to/3KGSaZ9
keyboard :- https://amzn.to/3YGXIJ3
Mouse :- https://amzn.to/45uSylF
Headphone :- https://amzn.to/3KGSaZ9
Web Cam :- https://amzn.to/3QK978T
Microphone : - https://amzn.to/3KGSaZ9

Business Email: malakars041@gmail.com

Personal Channel: https://www.youtube.com/channel/UCfPPYxi84Q5ByzeHdhmh-Nw

#LinkedList #LeetCode #DSA #Java #CodingInterview #PlacementPreparation

Видео Sort a Linked List of 0s, 1s and 2s | DSA in Java Full Course #44 канала Web Dev Mastery
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять