Search Results

Searching for: big

Individual Exercises

0 / 10

The code below finds the largest number in an int array. What is the growth rate, Big O(), of this method?

// Return the position of...
0 / 10

The code below finds a specific number in an int array. What is the growth rate, Big O(), of this method, on average?

static int...
0 / 10

The code below finds a specific number in an int array. What is the best case estimation for performance, Big O(), for this method?

...
0 / 10

The code below finds a specific number in an int array. What is the worst case estimation for performance, Big O(), for this method?

...
0 / 10

The code below counts the number of elements that appear in duplicate in an array. Which of the folowing statements are true?

static int...
0 / 70

Given an integer array length of 1 or more, return the difference between the largest and smallest values in the array. Note that the...

0 / 50

For the question below, assume the following implementation of the Measurable interface and Square and Circle classes:

public interface ...