CS371g Summer 2021 Week 5: Andrew Li
What did you do this past week?
This past week, my partner and I have been working a lot on the Integer project. We started the friday before, and by the end of the weekend, we finished everything but multiplication. In our minds, we were almost done. However, as many people in class know, multiplication was the hardest part. We spend all day tuesday working on it, and thankfully, we were able to finally get our code to pass hackerrank 15 minutes before the deadline.
What’s in your way?
Right now, I have been taking a little bit of a mental break from compsci after the Integer project. Hopefully, I am ready for the next project, which has already started.
What will you do next week?
Next week I will be working on the Deque project, which hopefully will be a little easier than the last one.
If you read it, what did you think of the Paper #6: Vector?
I read the paper, and I understood most of the code in there from what we had discussed in class. On thing that I found interesting was that the indexing operator, , had an assert for if the index was in range or not. However, the at() method instead threw an out_of_bounds exception when the index was out of range. I would be interested in knowing why they handle it differently.
What was your experience of containers, container adapters, and allocators? (this question will vary, week to week)
I had not very much experience in allocators, but it made sense to me, and I would feel comfortable using them along with containers in the future.
What made you happy this week?
This week, I got a part-time job for the rest of the summer, which I am super happy about! It is a tutoring job, with flexible hours, which I am very glad for.
What’s your pick-of-the-week or tip-of-the-week?
My pick-of-the-week is to start early, as I know that if I did not start early last project, it would have been much, much worse for me.