Save this video free

CS110A Week 9 Day 2 lesson on 10/15/2026

indika walimuni · 1:39:39 · Watch on YouTube

CS110A Week 9 Day 2 lesson on 10/15/2026 Watch on YouTube →

Overview

In CS110A, Indika Walimuni models a four-digit number reversal using modulo 10, floor division, positional place values, and a function that returns its result. The lesson then introduces lossless and lossy compression through dictionaries, Huffman coding, JPEG quantization, and video frames, reviews relational database tables and primary keys, and begins an interview-style clock-angle problem.

Key takeaways

Chapters

0:00 Define the Four-Digit Number Reversal Task
2:35 Build the Reversed Number from Place Values
5:20 Extract the Ones Digit with Modulo 10
10:49 Use Floor Division to Reach Leading Digits
15:34 Generalize Digit Extraction Across Positions
21:24 Write the Reversal Plan and Return the Result
27:11 Translate the Algorithm into Python and Test It
33:47 Why Data Compression Saves Storage and Transfer Time
37:16 Dictionary-Based Lossless Compression
43:14 Huffman Coding and Compression Exercises
47:22 Course Survey, Procrastination Lesson, and Midterm Planning
55:04 JPEG, Pixel Values, and Huffman Coding
1:00:59 JPEG Quantization and Lossy Video Compression
1:07:59 Relational Database Tables, Fields, and Records
1:14:54 Primary Keys Connect Inventory and Order Tables
1:16:54 Frame the Clock-Hand Angle Interview Problem
1:19:21 Use Clock Diagrams and Worked Examples
1:25:26 Derive a General Pattern for the Minute-Hand Angle
1:31:01 Interpret Alpha and Check the Three-O'Clock Case
1:36:49 Validate the Clock Formula with 3:30 and 330 Degrees

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:00 Morning guys. So let's um begin. [clears throat] So this is our agenda today. Um take a look guys. We have a talk. Look at the audience going down by the day. So only we have three now. Okay. So, um uh take a look. Today we have a talk at this um from Stanford research actually. Um yeah, make sure to attend like guys.

0:50 Okay. So, uh so let's do let's solve that problem. So, um the reverse number problem, right? So, okay. All right. So, and this one is uh uh kind of similar to what we did, right? So, I recommend like, you know, um taking that code and and then um um um the the Tuesday code. Okay. So, I'm going to um copy this and then this is my code. Yeah. So, I'm going to take this code

1:39 and and change. Okay. So, uh kind of um I don't need this understand, right? So, I'm going to replace it. Okay. And then um Okay. Okay. So what is the input? This 40 positive integer, right? So this is the input. What is the vocabulary recognizing the input? What is it? >> Good morning. What what is the vocabulary of um recognizing input? Yeah. Word word given, right? All right. So,

2:30 okay. All right. So, um and then then output is basically reverse number. Okay. Yeah. Reverse number. This the output. Okay. So, do we have restriction for this one? Yeah. Right. So all of these without using strings text manipulation or importing any modules including math modules. So don't use right. All right. So that those are the restrictions. All right guys, we are solving this problem. Okay. Um reverse a number. Okay.

3:21 All right. Let me grab this into here. Okay. All right. So, I'm going to uh remove this

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, indika walimuni.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.