Amit Sahai
Department of Computer Science
AD
4.2
Overall Rating
Based on 26 Users
Easiness 2.2 / 5 How easy the class is, 1 being extremely difficult and 5 being easy peasy.
Clarity 4.1 / 5 How clear the class is, 1 being extremely unclear and 5 being very clear.
Workload 2.6 / 5 How much workload the class is, 1 being extremely heavy and 5 being extremely light.
Helpfulness 4.7 / 5 How helpful the class is, 1 being not helpful at all and 5 being extremely helpful.

TOP TAGS

  • Engaging Lectures
  • Tough Tests
  • Gives Extra Credit
  • Participation Matters
GRADE DISTRIBUTIONS
26.5%
22.1%
17.7%
13.3%
8.8%
4.4%
0.0%
A+
A
A-
B+
B
B-
C+
C
C-
D+
D
D-
F

Grade distributions are collected using data from the UCLA Registrar’s Office.

39.2%
32.7%
26.1%
19.6%
13.1%
6.5%
0.0%
A+
A
A-
B+
B
B-
C+
C
C-
D+
D
D-
F

Grade distributions are collected using data from the UCLA Registrar’s Office.

51.2%
42.6%
34.1%
25.6%
17.1%
8.5%
0.0%
A+
A
A-
B+
B
B-
C+
C
C-
D+
D
D-
F

Grade distributions are collected using data from the UCLA Registrar’s Office.

26.8%
22.4%
17.9%
13.4%
8.9%
4.5%
0.0%
A+
A
A-
B+
B
B-
C+
C
C-
D+
D
D-
F

Grade distributions are collected using data from the UCLA Registrar’s Office.

26.0%
21.7%
17.3%
13.0%
8.7%
4.3%
0.0%
A+
A
A-
B+
B
B-
C+
C
C-
D+
D
D-
F

Grade distributions are collected using data from the UCLA Registrar’s Office.

27.9%
23.3%
18.6%
14.0%
9.3%
4.7%
0.0%
A+
A
A-
B+
B
B-
C+
C
C-
D+
D
D-
F

Grade distributions are collected using data from the UCLA Registrar’s Office.

27.1%
22.6%
18.1%
13.5%
9.0%
4.5%
0.0%
A+
A
A-
B+
B
B-
C+
C
C-
D+
D
D-
F

Grade distributions are collected using data from the UCLA Registrar’s Office.

18.6%
15.5%
12.4%
9.3%
6.2%
3.1%
0.0%
A+
A
A-
B+
B
B-
C+
C
C-
D+
D
D-
F

Grade distributions are collected using data from the UCLA Registrar’s Office.

23.6%
19.7%
15.8%
11.8%
7.9%
3.9%
0.0%
A+
A
A-
B+
B
B-
C+
C
C-
D+
D
D-
F

Grade distributions are collected using data from the UCLA Registrar’s Office.

17.8%
14.8%
11.9%
8.9%
5.9%
3.0%
0.0%
A+
A
A-
B+
B
B-
C+
C
C-
D+
D
D-
F

Grade distributions are collected using data from the UCLA Registrar’s Office.

ENROLLMENT DISTRIBUTIONS
Clear marks

Sorry, no enrollment data is available.

AD

Reviews (16)

1 of 2
1 of 2
Add your review...
Quarter: Winter 2019
Grade: A+
March 22, 2019

What an amazing experience CS181 with Professor Sahai was. If you like mathematics, you are in for an absolute treat. Professor Sahai, in his own words, conducts the "advanced mathematical version" of CS181. Anyone who wants to take this class must be prepared to invest a considerable amount of effort. But the rewards are entirely commensurate with the effort.

Professor Sahai's lectures involve extensive interactions with students and opportunities abound for extra credit. The homeworks, midterm and exam are all very interesting, and several questions are challenging. Some of them really require meditation and contemplation over the course of several days, and are not at all the type of questions that can be solved in one sitting of a few hours. Several ideas only came to my head while I was in the shower, walking around campus, or eating dinner. These ideas require time to germinate and develop. This is how mathematics is supposed to be done.

This was by far the best CS class I ever took at UCLA. And Professor Sahai was the best professor I encountered in CS.

Helpful?

3 1 Please log in to provide feedback.
Quarter: Winter 2019
Grade: A+
Jan. 11, 2019

Let me tell you something, boys and girls. Idk why the top review is from like 2012, but Sahai in his current form is a beast of an educator. Sahai is one of the few lecturers I can recommend for anyone looking to actually make the most of their CS education. If you just want an ez A, you should avoid his class. But if you actually care about the learning computer science, look no further. Sahai ticks several very important boxes:

☑️ Supreme command of the subject matter. Sahai's class organically develops from student input. He is able to dynamically take student suggestions and run with them on the fly, while maintaining good pedagogical direction.

☑️ Interactive lectures. You feel like you really make a creative difference when you speak up in class, rather than parroting some preset answer. With the first point, this means that the overall direction of lectures is mediated by Sahai, but the examples used to demonstrate and elucidate concepts come from the floor.

☑️ Nice & enthusiastic. The top answer says Sahai can be condescending, but I haven't seen this so far. Maybe he got better at being nice. He will repeat explanations that you don't understand, and often from a different angle to make it more likely that you understand. Also, you can just feel his bubbly enthusiasm for the subject matter when he speaks.

Note that his class is the "advanced mathematical" version of 181 [sic Sahai]. If you truly feel no love for theory, or if you just need to take it easy this quarter, you should probably take it with someone else. I heard the other lecturers are also really good. But if you can handle some math and you want to go hard, I place Sahai among the legends of UCLA CS educators. You're paying fat stacks to go here. Do yourself a favor and make the most of that money and your time.

Helpful?

2 3 Please log in to provide feedback.
Quarter: Winter 2021
Grade: A
COVID-19 This review was submitted during the COVID-19 pandemic. Your experience may vary.
March 24, 2021

I took this class as a senior, and I can say that CS 181 with Prof. Sahai is easily the best course I've taken at UCLA. (And yes, that does include CS 32 with Carey Nauchenberg.)

Automata theory and computability probably won't be useful in my career, but I still think this is one of the most valuable classes in the CS curriculum at UCLA. This class will make you a better problem solver. A lot of the questions in this class are intuitive and easy to understand, but translating ideas into formal solutions can be so, so hard. If you've ever attempted Leetcode questions and thought "The solution seems so obvious...but I just don't know how to do it," you know this feeling. Sahai's class teaches you how to isolate intuition, address its shortcomings, and then use it to guide you toward a correct solution. Frameworks and languages will become outdated, but this process of dissecting a problem is something any software engineer can always use. If you have any interest in solving challenging problems in your career, this class is a must-take. It's the equivalent of a pro athlete going to the gym to lift weights.

- Lectures in CS 181 are unlike any lectures in the CS department. They're all student-driven, so students ask motivating questions and others can respond and drive the discussion. Extra credit is awarded for questions and answers (both right and wrong!). Trust me, I skip most of my lectures to watch them at 2-3x speed, but I looked forward to going to CS 181 every week. I've yet to take a class with a professor better at explaining difficult concepts than Sahai.

- Problem sets are difficult but highly rewarding. There's plenty of extra credit -- lots of extra credit homework problems and you get an automatic 5% (maybe 10%? I forgot) extra credit for typing your solutions in LaTeX. I would recommend looking at problems as soon as homework assignments are assigned, and then just let them sit in the back of your head for a few days. There are 6 problem sets, most of them usually 2-3 questions long, but they can be pretty hard.

- Grades are curved without extra credit, and then EC is applied. This makes the average closer to a B+/A-.

- Stick out the first two weeks! I was close to dropping the class because deterministic finite state machines are pretty boring, but it ramps up quickly.

Helpful?

1 1 Please log in to provide feedback.
Quarter: N/A
Grade: N/A
March 31, 2012

Terrible professor.

Helpful?

2 4 Please log in to provide feedback.
Quarter: Winter 2024
Grade: B
Verified Reviewer This user is a verified UCLA student/alum.
April 5, 2024

Professor Sahai is a kind, engaging professor. He is genuinely excited to dive into the theory of computation during every class, which creates a very positive learning environment. The class is difficult and heavily proof-based. The homework is lengthy but doable if you have friends to collaborate with, which is strongly encouraged by the professor. There are ample opportunities for extra credit. I typically don't have perfect attendance, but I made sure to attend every lecture for this class.

Helpful?

0 0 Please log in to provide feedback.
Quarter: Winter 2024
Grade: A+
Verified Reviewer This user is a verified UCLA student/alum.
March 31, 2024

Lots of the reviews hate on his class because it focuses more on "theoretical mathematics" rather than applications. This is absolutely true. If you hate theoretical math then you might want to consider taking an easier prof this class. Although, I'm not sure what they expected from a class named "An Introduction to Computability THEORY"...

That being said, Prof. Sahai is hands down the best lecturer on campus. It is not a traditional lecture where the professor bestows you divine knowledge that was discovered by the forefathers of computer science. Instead, Prof. Sahai structures the class so that you slowly and methodically uncover this knowledge. He conducts his lectures in a socratic style and is always looking for student ideas to guide the lecture. Because of this, the lectures are super engaging and interesting through cycles of trial and error with lots of interesting ideas from the class. You'll get to discover why some of the ideas work while others don't.

It's important to note that this is the "unofficial honors section" so Prof. Sahai expects a deeper understanding of the content. His exams are certainly more difficult than other sections and not super traditional either. They don't test the materials in class directly. Rather, he makes up questions very similar to the content done in class, but with a bit of a spin. As a very simple example, suppose that you learned about how to add 2 real numbers in class. The exam might give you the definition for imaginary numbers and then ask you to add 2 imaginary numbers. You'll be able to do it with what is learned in class, but it's going to be something new that is similar to content in class.

There are lots of extra credit in this class: anytime you contribute to the lecture and there's always EC problems on the exams. Final exam is take home on week 10.

Helpful?

0 0 Please log in to provide feedback.
Quarter: Fall 2023
Grade: B
Verified Reviewer This user is a verified UCLA student/alum.
Jan. 9, 2024

Light workload, homeworks were mostly completion graded but exams were difficult.

Helpful?

0 0 Please log in to provide feedback.
Quarter: Winter 2022
Grade: A
COVID-19 This review was submitted during the COVID-19 pandemic. Your experience may vary.
June 10, 2022

I honestly loved this class. I wasn’t expecting to at all, but I think that if you like math you will have a good time. I also think that Sahai is the best lecturer I’ve had at ucla (especially within the CS dept). I never missed a lecture because I was genuinely excited and interested to learn the material. The homeworks are meant to be difficult and did take up a fair amount of time, but I feel like they were graded leniently because averages were quite high.

Helpful?

0 0 Please log in to provide feedback.
Quarter: Winter 2022
Grade: C+
COVID-19 This review was submitted during the COVID-19 pandemic. Your experience may vary.
Verified Reviewer This user is a verified UCLA student/alum.
March 24, 2022

Ignore all other reviews for this class, as most of them are either outdated or from math people who love sitting at their desks for 10+ hours a week thinking about theory. This class, if not already known, is the advanced mathematical offering of CS 181, meaning that instead of studying application, you study the theory of this class. The lectures are "lead" by students, which often involve questions not pertaining to curriculum and you often go off on tangents. Additionally, this class format creates an environment where you do not know what you need to learn and what is irrelevant, often making the class even harder than before. Also, don't get me started on the homework, which by his syllabus, takes 15-20 hours each.
Summary: Avoid this class with Sahai at all costs unless you like torturing yourself with math theory.

Helpful?

0 0 Please log in to provide feedback.
Quarter: Winter 2019
Grade: I
March 20, 2019

Loved taking this class with Pf. Sahai. As other reviewers here say, this is the "advanced mathematical" offering of the course. Going into the quarter, I was terrified since I had convinced myself I didn't like math but the material ended up being a truly refreshing blend of math, CS, and general logic and Professor Sahai's lecture style (as detailed in greater depth in other reviews) made me never want to miss a lecture. Exams were difficult but doable and I really liked the take-home nature of the final which made it a relatively stress-free experience (it made the difficult problems fun rather than scary). All in all, one of my favorite courses in the UCLA CS major. Just be ready to put in a good deal of effort.

Helpful?

0 0 Please log in to provide feedback.
Quarter: Winter 2019
Grade: A+
March 22, 2019

What an amazing experience CS181 with Professor Sahai was. If you like mathematics, you are in for an absolute treat. Professor Sahai, in his own words, conducts the "advanced mathematical version" of CS181. Anyone who wants to take this class must be prepared to invest a considerable amount of effort. But the rewards are entirely commensurate with the effort.

Professor Sahai's lectures involve extensive interactions with students and opportunities abound for extra credit. The homeworks, midterm and exam are all very interesting, and several questions are challenging. Some of them really require meditation and contemplation over the course of several days, and are not at all the type of questions that can be solved in one sitting of a few hours. Several ideas only came to my head while I was in the shower, walking around campus, or eating dinner. These ideas require time to germinate and develop. This is how mathematics is supposed to be done.

This was by far the best CS class I ever took at UCLA. And Professor Sahai was the best professor I encountered in CS.

Helpful?

3 1 Please log in to provide feedback.
Quarter: Winter 2019
Grade: A+
Jan. 11, 2019

Let me tell you something, boys and girls. Idk why the top review is from like 2012, but Sahai in his current form is a beast of an educator. Sahai is one of the few lecturers I can recommend for anyone looking to actually make the most of their CS education. If you just want an ez A, you should avoid his class. But if you actually care about the learning computer science, look no further. Sahai ticks several very important boxes:

☑️ Supreme command of the subject matter. Sahai's class organically develops from student input. He is able to dynamically take student suggestions and run with them on the fly, while maintaining good pedagogical direction.

☑️ Interactive lectures. You feel like you really make a creative difference when you speak up in class, rather than parroting some preset answer. With the first point, this means that the overall direction of lectures is mediated by Sahai, but the examples used to demonstrate and elucidate concepts come from the floor.

☑️ Nice & enthusiastic. The top answer says Sahai can be condescending, but I haven't seen this so far. Maybe he got better at being nice. He will repeat explanations that you don't understand, and often from a different angle to make it more likely that you understand. Also, you can just feel his bubbly enthusiasm for the subject matter when he speaks.

Note that his class is the "advanced mathematical" version of 181 [sic Sahai]. If you truly feel no love for theory, or if you just need to take it easy this quarter, you should probably take it with someone else. I heard the other lecturers are also really good. But if you can handle some math and you want to go hard, I place Sahai among the legends of UCLA CS educators. You're paying fat stacks to go here. Do yourself a favor and make the most of that money and your time.

Helpful?

2 3 Please log in to provide feedback.
COVID-19 This review was submitted during the COVID-19 pandemic. Your experience may vary.
Quarter: Winter 2021
Grade: A
March 24, 2021

I took this class as a senior, and I can say that CS 181 with Prof. Sahai is easily the best course I've taken at UCLA. (And yes, that does include CS 32 with Carey Nauchenberg.)

Automata theory and computability probably won't be useful in my career, but I still think this is one of the most valuable classes in the CS curriculum at UCLA. This class will make you a better problem solver. A lot of the questions in this class are intuitive and easy to understand, but translating ideas into formal solutions can be so, so hard. If you've ever attempted Leetcode questions and thought "The solution seems so obvious...but I just don't know how to do it," you know this feeling. Sahai's class teaches you how to isolate intuition, address its shortcomings, and then use it to guide you toward a correct solution. Frameworks and languages will become outdated, but this process of dissecting a problem is something any software engineer can always use. If you have any interest in solving challenging problems in your career, this class is a must-take. It's the equivalent of a pro athlete going to the gym to lift weights.

- Lectures in CS 181 are unlike any lectures in the CS department. They're all student-driven, so students ask motivating questions and others can respond and drive the discussion. Extra credit is awarded for questions and answers (both right and wrong!). Trust me, I skip most of my lectures to watch them at 2-3x speed, but I looked forward to going to CS 181 every week. I've yet to take a class with a professor better at explaining difficult concepts than Sahai.

- Problem sets are difficult but highly rewarding. There's plenty of extra credit -- lots of extra credit homework problems and you get an automatic 5% (maybe 10%? I forgot) extra credit for typing your solutions in LaTeX. I would recommend looking at problems as soon as homework assignments are assigned, and then just let them sit in the back of your head for a few days. There are 6 problem sets, most of them usually 2-3 questions long, but they can be pretty hard.

- Grades are curved without extra credit, and then EC is applied. This makes the average closer to a B+/A-.

- Stick out the first two weeks! I was close to dropping the class because deterministic finite state machines are pretty boring, but it ramps up quickly.

Helpful?

1 1 Please log in to provide feedback.
Quarter: N/A
Grade: N/A
March 31, 2012

Terrible professor.

Helpful?

2 4 Please log in to provide feedback.
Verified Reviewer This user is a verified UCLA student/alum.
Quarter: Winter 2024
Grade: B
April 5, 2024

Professor Sahai is a kind, engaging professor. He is genuinely excited to dive into the theory of computation during every class, which creates a very positive learning environment. The class is difficult and heavily proof-based. The homework is lengthy but doable if you have friends to collaborate with, which is strongly encouraged by the professor. There are ample opportunities for extra credit. I typically don't have perfect attendance, but I made sure to attend every lecture for this class.

Helpful?

0 0 Please log in to provide feedback.
Verified Reviewer This user is a verified UCLA student/alum.
Quarter: Winter 2024
Grade: A+
March 31, 2024

Lots of the reviews hate on his class because it focuses more on "theoretical mathematics" rather than applications. This is absolutely true. If you hate theoretical math then you might want to consider taking an easier prof this class. Although, I'm not sure what they expected from a class named "An Introduction to Computability THEORY"...

That being said, Prof. Sahai is hands down the best lecturer on campus. It is not a traditional lecture where the professor bestows you divine knowledge that was discovered by the forefathers of computer science. Instead, Prof. Sahai structures the class so that you slowly and methodically uncover this knowledge. He conducts his lectures in a socratic style and is always looking for student ideas to guide the lecture. Because of this, the lectures are super engaging and interesting through cycles of trial and error with lots of interesting ideas from the class. You'll get to discover why some of the ideas work while others don't.

It's important to note that this is the "unofficial honors section" so Prof. Sahai expects a deeper understanding of the content. His exams are certainly more difficult than other sections and not super traditional either. They don't test the materials in class directly. Rather, he makes up questions very similar to the content done in class, but with a bit of a spin. As a very simple example, suppose that you learned about how to add 2 real numbers in class. The exam might give you the definition for imaginary numbers and then ask you to add 2 imaginary numbers. You'll be able to do it with what is learned in class, but it's going to be something new that is similar to content in class.

There are lots of extra credit in this class: anytime you contribute to the lecture and there's always EC problems on the exams. Final exam is take home on week 10.

Helpful?

0 0 Please log in to provide feedback.
Verified Reviewer This user is a verified UCLA student/alum.
Quarter: Fall 2023
Grade: B
Jan. 9, 2024

Light workload, homeworks were mostly completion graded but exams were difficult.

Helpful?

0 0 Please log in to provide feedback.
COVID-19 This review was submitted during the COVID-19 pandemic. Your experience may vary.
Quarter: Winter 2022
Grade: A
June 10, 2022

I honestly loved this class. I wasn’t expecting to at all, but I think that if you like math you will have a good time. I also think that Sahai is the best lecturer I’ve had at ucla (especially within the CS dept). I never missed a lecture because I was genuinely excited and interested to learn the material. The homeworks are meant to be difficult and did take up a fair amount of time, but I feel like they were graded leniently because averages were quite high.

Helpful?

0 0 Please log in to provide feedback.
COVID-19 This review was submitted during the COVID-19 pandemic. Your experience may vary.
Verified Reviewer This user is a verified UCLA student/alum.
Quarter: Winter 2022
Grade: C+
March 24, 2022

Ignore all other reviews for this class, as most of them are either outdated or from math people who love sitting at their desks for 10+ hours a week thinking about theory. This class, if not already known, is the advanced mathematical offering of CS 181, meaning that instead of studying application, you study the theory of this class. The lectures are "lead" by students, which often involve questions not pertaining to curriculum and you often go off on tangents. Additionally, this class format creates an environment where you do not know what you need to learn and what is irrelevant, often making the class even harder than before. Also, don't get me started on the homework, which by his syllabus, takes 15-20 hours each.
Summary: Avoid this class with Sahai at all costs unless you like torturing yourself with math theory.

Helpful?

0 0 Please log in to provide feedback.
Quarter: Winter 2019
Grade: I
March 20, 2019

Loved taking this class with Pf. Sahai. As other reviewers here say, this is the "advanced mathematical" offering of the course. Going into the quarter, I was terrified since I had convinced myself I didn't like math but the material ended up being a truly refreshing blend of math, CS, and general logic and Professor Sahai's lecture style (as detailed in greater depth in other reviews) made me never want to miss a lecture. Exams were difficult but doable and I really liked the take-home nature of the final which made it a relatively stress-free experience (it made the difficult problems fun rather than scary). All in all, one of my favorite courses in the UCLA CS major. Just be ready to put in a good deal of effort.

Helpful?

0 0 Please log in to provide feedback.
1 of 2
4.2
Overall Rating
Based on 26 Users
Easiness 2.2 / 5 How easy the class is, 1 being extremely difficult and 5 being easy peasy.
Clarity 4.1 / 5 How clear the class is, 1 being extremely unclear and 5 being very clear.
Workload 2.6 / 5 How much workload the class is, 1 being extremely heavy and 5 being extremely light.
Helpfulness 4.7 / 5 How helpful the class is, 1 being not helpful at all and 5 being extremely helpful.

TOP TAGS

  • Engaging Lectures
    (9)
  • Tough Tests
    (9)
  • Gives Extra Credit
    (9)
  • Participation Matters
    (8)
ADS

Adblock Detected

Bruinwalk is an entirely Daily Bruin-run service brought to you for free. We hate annoying ads just as much as you do, but they help keep our lights on. We promise to keep our ads as relevant for you as possible, so please consider disabling your ad-blocking software while using this site.

Thank you for supporting us!