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
0
640
CodePath SE102 - Linked List (Week II), Session 1
Caren
June 02, 2019
Tweet
Share
More Decks by Caren
See All by Caren
CodePath - Linked List
calren
0
300
CodePath SE102 - Session 1 (Fall 2021)
calren
0
690
intro_to_mobile_info_session.pdf
calren
0
42
CodePath Mobile Mentor Training - 2020
calren
0
59
CodePath Android University - Prework Session
calren
0
78
CodePath Android University - Info Session
calren
0
77
SE103 - Week 9, Session 1
calren
0
490
SE103 - Week 9, Session 2
calren
0
380
SE103 - Week 10, Session 1
calren
0
300
Featured
See All Featured
Docker and Python
trallard
33
2.7k
A Modern Web Designer's Workflow
chriscoyier
688
190k
The Cost Of JavaScript in 2023
addyosmani
14
3.8k
Building Your Own Lightsaber
phodgson
98
5.7k
Raft: Consensus for Rubyists
vanstee
132
6.2k
Optimising Largest Contentful Paint
csswizardry
7
2.3k
Imperfection Machines: The Place of Print at Facebook
scottboms
258
12k
4 Signs Your Business is Dying
shpigford
175
21k
Happy Clients
brianwarren
91
6.4k
Designing for humans not robots
tammielis
247
25k
Building Effective Engineering Teams - LeadDev
addyosmani
27
1.8k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
226
16k
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