Answer from cs61c-ch (hani aldhafari 14962689) for Question 2 clearly, both algorithms use the exact size of memory. the most likely reason is performance optimization. there are no other clear differences between the two pieces of code.