Week 7 Day 3 - Deep Copies, Stacks
Channel:
Subscribers:
2,700
Published on ● Video Link: https://www.youtube.com/watch?v=lFcmNwbTLAs
We started off with a review of the rule of three, class design, why the default copy constructor doesn't work when you are allocating memory, and so forth. We then introduced deep copies (that rather than duplicating pointers duplicate all the elements in the data structure) and finally stacks.
I also did some review of Big-O, and the run time of exponentiation. The optimizer was also talked about a little bit.
Other Videos By Bill Kerney
2021-03-05 | Week 8 Day 3 - Deques, Pairs, Tuples |
2021-03-04 | Week 8 Day 2 - Cross Product |
2021-03-04 | Week 8 Day 2 - SIMD |
2021-03-04 | Week 7 Day 2 - Modal Logic |
2021-03-03 | Week 8 Day 2 - Memory Leaks, RPG 41 |
2021-03-02 | Week 8 Day 1 - Dot Products |
2021-03-02 | Week 8 Day 1 - Out of Order Execution, Register Renaming, Superscalar |
2021-03-02 | Week 7 Day 1 - Quantifiers |
2021-03-01 | Week 8 Day 1 - Templates |
2021-02-28 | Week 7 |
2021-02-28 | Week 7 Day 3 - Deep Copies, Stacks |
2021-02-27 | Week 6 Day 3 - Moar Midterm Review |
2021-02-25 | Week 7 Day 2 - Vector Math |
2021-02-25 | Week 7 Day 2 - Pipelining |
2021-02-24 | Week 7 Day 2 - Debugging II and Queues |
2021-02-24 | Week 6 Day 2 - Midterm Review |
2021-02-23 | Week 7 Day 1 - The Triangle in Games |
2021-02-23 | Week 7 Day 1 - Classes in C and Assembly |
2021-02-23 | Week 6 Day 1 - Fallacies III |
2021-02-22 | Week 7 Day 1 - Using Invariants to Debug Linked Lists |
2021-02-20 | Week 5 Day 2 - Fallacies II |
Tags:
csci 41
shallow copy
deep copy