36.5 Exercises
Factual
What happens when a Java file is compiled? HINT: Think about
.java
and.class
files.Why can a block of code run faster the second time it executes as compared to the first time?
What's the optimal way to sort an array of integers? Assume the integers are uniformly randomly distributed.
Metacognitive
Under what conditions would LSD sort be faster than mergesort?
Last updated