CS2001 > Sorted Arrays > Flashcards
How do you know if an array is sorted?
Its components are in ascending order
How does “greater than” work with Objects?
Using Comparable objects, which allows ordering to be defined over objects
How does “binary search” work with a sorted array? (3)