Reorder List (LeetCode 143) | Full Solution with 3 step process and animations

  Рет қаралды 2,659

Nikhil Lohia

Nikhil Lohia

Күн бұрын

Actual problem on LeetCode: leetcode.com/problems/reorder...
Chapters:
00:00 - Intro
00:40 - Problem Statement
03:51 - Brute Force Method
06:09 - Idea behind the approach
10:42 - Implementing the thought
13:08 - Dry-run of Code
15:34 - Final Thoughts
📚 Links to topics I talk about in the video:
Middle of a Linked List: • Middle of a Linked Lis...
Reverse a Single Linked List: • HackerRank - Reverse L...
Linked List Data Structure: • Linked List Data Struc...
What is Big O?: • Big O Notation Simplif...
Other Problems on LinkedLists: • Linked Lists
📘 A text based explanation is available at: studyalgorithms.com
Code on Github: github.com/nikoo28/java-solut...
Test-cases on Github: github.com/nikoo28/java-solut...
📖 Reference Books:
Starting Learn to Code: amzn.to/3sJm8Wl
Favorite book to understand algorithms: amzn.to/4848xJH
Favorite book for data structures: amzn.to/3P96YBv
Get started for interview preparation: amzn.to/44Nn5du
🔗 To see more videos like this, you can show your support on: www.buymeacoffee.com/studyalg...
🎥 My Recording Gear:
Recording Light: amzn.to/3PdsViT
Microphone: amzn.to/3Exv83x
Recording Camera: amzn.to/3PwyN8e
Tablet to sketch and draw: amzn.to/3ZdKVy7
Sketching Tool: amzn.to/45XJEgY
Laptop to edit videos: amzn.to/460ofDu
💻 Get Social 💻
Follow on Facebook at: / studyalgos
Subscribe to RSS feeds: studyalgorithms.com/feed/
Join fan mail: eepurl.com/g9Dadv
#leetcode #programming #interview

Пікірлер: 10
@matthewzarate8851
@matthewzarate8851 Ай бұрын
Wow, I had an identical problem to this that was on my data structures exam last Fall semester!
@matthewzarate8851
@matthewzarate8851 Ай бұрын
Thanks for the helpful explanation too! After watching the idea behind the approach I was able to complete it on my own. Thx Nikhil!!
@nikoo28
@nikoo28 Ай бұрын
always happy to hear that
@minhajurrahmanmahi9757
@minhajurrahmanmahi9757 21 сағат бұрын
you are the best. keep going
@eduardoignacioroblessosa6349
@eduardoignacioroblessosa6349 2 ай бұрын
this problem should be marked as difficult >.
@ashok2089
@ashok2089 27 күн бұрын
Nice explanation!
@subramanya_l
@subramanya_l 2 ай бұрын
THANK YOU
@kanaramjangid8563
@kanaramjangid8563 27 күн бұрын
Sir i have been learning dsa from last 4 months and practice on my vs code . Can i now upload my solutions to leedcode account sooner or later
@nikoo28
@nikoo28 26 күн бұрын
You can upload them anytime. Didn’t understand your question
@huynhduc9
@huynhduc9 Ай бұрын
For a list with 4 nodes, and when we are finding the midpoint, doesn't p1 stop at the node before the midpoint? 4 -> 8 ->15 -> 16 It stops at 8..
Как бесплатно замутить iphone 15 pro max
00:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 8 МЛН
Box jumping challenge, who stepped on the trap? #FunnyFamily #PartyGames
00:31
Family Games Media
Рет қаралды 25 МЛН
Max Consecutive Ones (LeetCode 1004) | Full Solution w/ animations
14:41
Linked Lists for Technical Interviews - Full Course
1:27:24
freeCodeCamp.org
Рет қаралды 352 М.