This knowledge was required for stacks and queues.
I particularly enjoyed Part A of Exercise 1 because it gave me an understanding of how the sqrt() method can be made from scratch. I still have some confusion regarding Part B. How do you return /n so that it works just like printing \n?
I particularly enjoyed Part A of Exercise 1 because it gave me an understanding of how the sqrt() method can be made from scratch. I still have some confusion regarding Part B. How do you return /n so that it works just like printing \n?
Regarding Labs, it was a unique experience partnering up with a random stranger in order to complete a task. Stack's and Queue's run times made me second guess my code, since their run times were constant and linear, respectively. After realizing this, I pay closer attention to redundant code in order to reduce the run time.
No comments:
Post a Comment