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
380
CodePath SE102 - Session 1 (Fall 2021)
calren
0
830
intro_to_mobile_info_session.pdf
calren
0
95
CodePath Mobile Mentor Training - 2020
calren
0
130
CodePath Android University - Prework Session
calren
0
140
CodePath Android University - Info Session
calren
0
170
SE103 - Week 9, Session 1
calren
0
580
SE103 - Week 9, Session 2
calren
0
500
SE103 - Week 10, Session 1
calren
0
390
Featured
See All Featured
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
320
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
450
Building Flexible Design Systems
yeseniaperezcruz
330
41k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Rails Girls Zürich Keynote
gr2m
96
14k
First, design no harm
axbom
PRO
2
1.3k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
2
3.8k
Color Theory Basics | Prateek | Gurzu
gurzu
0
460
A designer walks into a library…
pauljervisheath
211
25k
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