Design and analysis of computer algorithms. Correctness proofs and solution of recurrence relations. Design techniques; divide and conquer, greedy strategies, dynamic programming. Applications of techniques to problems from several disciplines. NP - completeness.

Prerequisites: Computer Science 130A.

4

Units

Letter

Grading

1, 2, 3

Passtime

None

Level Limit

Engineering

College
Unlocks CMPSC 134 CMPSC 174B CMPSC 230 CMPSC 180 CMPSC 231 CMPSC 235
These majors only cpsci cmpsc cmpen
SURI S
Subhash Suri
4.6
30 reviews
AI predicted, based on past grading trends of the course and instructor, class info, and 127 other factors
SH 1430
F
10:00 AM - 10:50 AM
38 / 38 Full

ARTS 1356
F
11:00 AM - 11:50 AM
38 / 38 Full

NH 1109
F
12:00 PM - 12:50 PM
37 / 37 Full

GIRV 1119
F
13:00 PM - 13:50 PM
37 / 37 Full

See All
Spring 2024 . Suri S
TD-W 1701
T R
15:30 PM - 16:45 PM
Winter 2026 . Suri S
ILP 2302
T R
14:00 PM - 15:15 PM
See All
CMPSC 130B Suri S Winter 2025 Total: 148
CMPSC 130B Suri S Spring 2024 Total: 74
See All
30
4.6
CS130B . Suri S 7 Days Ago

Suri is a decent lecturer, though for 130B try to go with Vigoda he is better. The tests are similar to the homework besides the last one. The unit was NP complete and approximation, however there was no approximation questions so I am very annoyed at that. He says there is a curve but there really isnt. Hard class.

0 helpful 0 unhelpful
CS130B . Suri S 7 Days Ago

He switched up the grading criteria for W26. 3 exams worth 20% each, no midterm no final which made it less stressful. The topics (dc, dp, np-completeness) were tricky, but the questions on the exam were far easier than the homework. It's a lot like 130a where there's an emphasis on algo design (+ proofs), so if that was easy 130b should be fine

0 helpful 0 unhelpful
CS130B . Suri S 10 Months Ago

This class is pretty difficult but Suri is a good lecturer and curves the class at the end. If you complete all the assignments, go to section, and put in a moderate amount of effort you should be fine. I did horribly on the midterm, average on the final, and still finished with a B.

0 helpful 0 unhelpful
CS130B . Suri S 1 Year, 11 Days Ago

Overall pretty good lecturer and goes over the concepts well. The homework was just multiple choice questions and were pretty easy but didn't prepare you well for the exams. Both midterms and finals were pretty difficult and conceptual. Mostly had yes/no true/false questions with justifications which I did not like because you could get a 0.

0 helpful 0 unhelpful
CS130B . Suri S 1 Year, 10 Months Ago

Programming assignment 1 was the worst experience I've had my entire time at UCSB. Don't pass a test case on kattis and you're stuck for days trying to find what went wrong and why. Sometimes TAs respond on Piazza and give you hints on why your algorithm isn't working but don't count on it. One mistake and you don't get past test case 2. Good luck.

0 helpful 0 unhelpful
CS130B . Suri S 2 Years Ago

Professor Suri is one of the best professors in the cs department. His lecture slides are concise and to the point. If you attend lectures and understand every algorithm/concept in it you'll do really well on the exams. There are 2 programming assignments 2 midterms and 1 final that count for your grade.

1 helpful 0 unhelpful
See all 30 reviews
CMPSC 99
0 / 5 Enrolled
Independent Studies in Computer Science
T B A
CMPSC 130A
121 / 150 Enrolled
Data Structures and Algorithms I
Aslandogan Y
T R
12:30 PM - 13:45 PM
CMPSC 130A
0 / 150 Enrolled
Data Structures and Algorithms I
T B A
M W
12:30 PM - 13:45 PM
CMPSC 140
68 / 70 Enrolled
Parallel Scientific Computing
Tao Yang 2.9
M W
09:30 AM - 10:45 AM
CMPSC 148
100 / 100 Closed
Computer Science Project
Tobias Hollerer 4.6
M W
14:00 PM - 15:15 PM
CMPSC 154
149 / 150 Enrolled
Computer Architecture
Jonathan Balkind 3.6
M W
11:00 AM - 12:15 PM