Back to Algorithms, Part II
Princeton University

Algorithms, Part II

This course covers the essential information that every serious programmer needs to know about algorithms and data structures, with emphasis on applications and scientific performance analysis of Java implementations. Part I covers elementary data structures, sorting, and searching algorithms. Part II focuses on graph- and string-processing algorithms. All the features of this course are available for free. People who are interested in digging deeper into the content may wish to obtain the textbook Algorithms, Fourth Edition (upon which the course is based) or visit the website algs4.cs.princeton.edu for a wealth of additional material. This course does not offer a certificate upon completion.

Status: Java
Status: Java Programming
IntermediateCourse63 hours

Featured reviews

MS

5.0Reviewed Feb 27, 2021

Essential information that every serious programmer needs to know about algorithms and data structures, with emphasis on applications and scientific performance analysis of Java implementations.

CC

5.0Reviewed Feb 27, 2018

Prof. Sedgewick does an amazing job in explaining the mechanics of the fundamental algorithms and data structures. I have thoroughly enjoyed this course (and Part I).

IG

5.0Reviewed Mar 3, 2018

Every single programming assignment was both challenging and fun. I learned really good algorithms and overall I feel I'm a better Software Engineer

XZ

5.0Reviewed Feb 7, 2020

As always, I learned a lot from the courses from Professor Robert. Really great course, and I would like to recommend to anyone who is interested in programming neatly and elegantly.

Q

5.0Reviewed Jun 24, 2025

very good course, the audio on the video can be weird at times, but overall a great experiences, the teacher is very good and the assignment are all excellent

MA

5.0Reviewed Jun 29, 2019

Dr. Sedgewick is simply amazing. I enjoy how he motivates the need for efficient algorithms and applications. I only wish he would offer more courses!

MP

5.0Reviewed Jan 12, 2024

Great quality of academic content. Mr Sedgewick is a great lecturer and the programming tasks, though hard, help you dive deep into the Java implementations.

TG

5.0Reviewed Apr 26, 2018

Excellent follow-on from Part I - covers additional algorithms in depth and the excellent examples really help to learn and understand the material.

RK

5.0Reviewed Sep 25, 2018

An incredible course that covers a lot of vital algorithm on graphs and strings. I learned a lot of new material that I hadn't known before. Thank you very much for this amazing course!

HK

5.0Reviewed Mar 4, 2020

This was a great overview of more advanced algorithms, and I also got to prep for interviews and use concepts in actual work. The theory at the end was very helpful as well

PJ

5.0Reviewed Aug 29, 2020

"Remind me again why I'm trying to figure out if Detroit was eliminated back in American League '96" - me, at 4:00 AM"Where is Week 7?" me, a few days later.

EL

5.0Reviewed Nov 23, 2019

Excellent course and materials about algorithms and data structures. Very challenging exercises that make you think hard to achieve the passing score.

All reviews

Showing: 20 of 383

Maruf Hassan
5.0
Reviewed Jan 2, 2019
Jack Orz
5.0
Reviewed Oct 29, 2019
Anil Kumar
5.0
Reviewed Apr 17, 2019
Akizuki Kagurazaka
4.0
Reviewed Feb 8, 2020
Spyridon Theodoros Dellas
5.0
Reviewed Oct 15, 2020
Renat Kaitmazov
5.0
Reviewed Sep 26, 2018
Mervyn Kaplan
5.0
Reviewed Mar 25, 2018
Qi Zhao
5.0
Reviewed Aug 19, 2018
Vishal Mundhra
2.0
Reviewed May 28, 2020
Don Stuckey
5.0
Reviewed Jun 17, 2020
Riccardo
5.0
Reviewed Feb 26, 2020
Vikram Wupadrasta
5.0
Reviewed May 21, 2021
Ajinkya Vidwans
5.0
Reviewed Aug 10, 2020
Nguyen Tran Trung
5.0
Reviewed Jan 26, 2018
Iurii Okhmat
5.0
Reviewed Jan 20, 2018
Sajith Nawarathne
5.0
Reviewed Aug 14, 2023
Karpov Artem
5.0
Reviewed Jan 6, 2018
Timothy O'Sullivan
5.0
Reviewed Oct 26, 2023
Ahmad Alhashemi
5.0
Reviewed Mar 12, 2018
shant C
5.0
Reviewed Jun 14, 2019