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
670
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
90
CodePath Mobile Mentor Training - 2020
calren
0
130
CodePath Android University - Prework Session
calren
0
130
CodePath Android University - Info Session
calren
0
170
SE103 - Week 9, Session 1
calren
0
570
SE103 - Week 9, Session 2
calren
0
500
SE103 - Week 10, Session 1
calren
0
390
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
The Curious Case for Waylosing
cassininazir
1
430
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
640
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
380
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
220
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.9k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
180
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
600
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
310
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
280
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
220
The Cost Of JavaScript in 2023
addyosmani
55
10k
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