Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
CodePath SE102 - Linked List (Week II), Session 1
Search
Caren
June 02, 2019
660
0
Share
CodePath SE102 - Linked List (Week II), Session 1
Caren
June 02, 2019
More Decks by Caren
See All by Caren
CodePath - Linked List
calren
0
370
CodePath SE102 - Session 1 (Fall 2021)
calren
0
820
intro_to_mobile_info_session.pdf
calren
0
88
CodePath Mobile Mentor Training - 2020
calren
0
120
CodePath Android University - Prework Session
calren
0
130
CodePath Android University - Info Session
calren
0
160
SE103 - Week 9, Session 1
calren
0
570
SE103 - Week 9, Session 2
calren
0
490
SE103 - Week 10, Session 1
calren
0
380
Featured
See All Featured
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
110k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
280
Scaling GitHub
holman
464
140k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.9k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.7k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
180
Utilizing Notion as your number one productivity tool
mfonobong
4
300
Odyssey Design
rkendrick25
PRO
2
620
Transcript
Linked Lists Week 4
How was HackerRank?
Confusions / common problems with Linked Lists?
Linked List Tips and Tricks
Linked List Tips and Tricks Take multiple passes through the
linked list - get length - save other information about contents Two pointers - ‘race car’ strategy with one regular pointer, and one fast pointer Dummy node - helpful for preventing errors when returning ‘head’
Understand Match Pseudocode / Plan Implement Review Evaluate
Understand Match Pseudocode / Plan Implement Review Evaluate
Reverse Linked List Understand -> Match -> Plan -> Implement
In class exercise Understand -> Match -> Plan -> Implement
In class exercise Understand -> Match -> Plan -> Implement
Try to spend ~15 minutes on a problem
In class exercise Understand -> Match -> Plan -> Implement
Try to spend ~15 minutes on a problem Goal for each problem is to have it pass a simple test case