00intro 2x2 PDF
00intro 2x2 PDF
ALGORITHMS
AND
DATA STRUCTURES
KEVIN WAYNE
topic
data types
sorting
searching
graphs
strings
advanced
http://www.princeton.edu/~cos226
2
FRO M THE
EDITORS
like verse, they can be terse, allusive, dense, and even mysterious.
Francis Sullivan
Donald Knuth
2000s
1990s
1980s
1970s
1960s
1950s
1940s
1920s
1930s
Computer models mirroring real life have become crucial for most
and a good one is whether he considers his code or his data structures
Niklaus Wirth
COS 126
615
ECO 100
Introduction to Microeconomics
471
ECO 101
Introduction to Macroeconomics
444
ENG 385
Children's Literature
440
MAT 202
414
COS 226
405
MAT 201
Multivariable Calculus
384
CHV 310
Practical Ethics
344
REL 261
320
PSY 101
Introduction to Psychology
300
COS 217
...
http://www.youtube.com/watch?v=ua7YlN4eL_w
10
11
12
Lectures
Lectures
Flipped lectures.
no
no
What
When
Where
Who
Office Hours
What
When
Where
Who
Office Hours
L01
MW 1112:20
McCosh 10
Kevin Wayne
see web
L01
MW 1112:20
McCosh 10
Kevin Wayne
see web
Andy Guna
see web
Josh Hug
Frist 307
W 1112:20
L02
13
14
Precepts
What
When
Where
Who
Office Hours
P01
Th 1111:50
CS 102
Andy Guna
see web
P02
Th 12:301:20
Bobst 105
Andy Guna
see web
P03
Th 1:302:20
Bobst 105
Nevin Li
see web
P04
F 1010:50
Bobst 105
Jennifer Guo
see web
P05
F 1111:50
Bobst 105
Madhu Jayakumar
see web
P05A
F 1111:50
Sherrerd 001
Ruth Dannenfelser
see web
P06
F 2:303:20
Friend 108
Chris Eubank
see web
P06A
F 2:303:20
Friend 111
TBA
see web
P06B
F 2:303:20
Friend 109
Josh Hug
see web
P07
F 3:304:20
Friend 108
Josh Hug
see web
likely to change
lead preceptor
Exercises. 10%
Midterm
Report errata.
Contribute to Piazza discussion forum.
Attend and participate in precept/lecture.
15
Exercises
16
Resources (textbook)
Resources (web)
Course content.
Course info.
Lecture slides.
Flipped lectures.
Programming assignments.
Exercises.
Exam archive.
http://www.princeton.edu/~cos226
Algorithms
F O U R T H
E D I T I O N
Booksite.
S E D G E W I C K
K E V I N
W A Y N E
http://algs4.cs.princeton.edu
17
Resources (web)
18
Resources (web)
http://www.princeton.edu/~cos226
http://www.princeton.edu/~cos226
19
20
Resources (web)
Resources (web)
http://www.princeton.edu/~cos226
21
22
http://piazza.com/princeton/spring2014/cos226
as private.
Office hours.
Computing laboratory.
http://world.edu/academic-plagiarism
http://www.youtube.com/watch?v=FT4NOe4vtoM
http://www.princeton.edu/~cos226
23
24
What's ahead?
Lecture 1. [today] Union find.
Lecture 2. [Wednesday] Analysis of algorithms.
Flipped lecture 1. [Wednesday] Watch video beforehand.
Precept 1. [Thursday/Friday] Meets this week.
Exercise 1. Due via Bb submission at 11pm on Sunday.
Assignment 1. Due via electronic submission at 11pm on Tuesday.
protip: start early
25