Search Results

Searching for: array

Individual Exercises

0 / 10

This method takes an array of integers as its parameters and returns nothing. The method moves each element in the array to the right by...

0 / 20

This method takes an array of integers as a parameter. It returns true if the elements in the array are unique, false otherwise. For...

0 / 10

This method takes an integer array as a parameter and returns true if the array includes an odd integer; otherwise, the method returns...

0 / 20

This method takes an integer array as a parameter and returns the minimum difference between adjacent values in the array. The difference...

0 / 10

This method takes an ArrayList of integers as a parameter and does not return anything. The method will expand the list with a mirrored...

0 / 20

This method takes an ArrayList of integers as a parameter and does not return anything. The method will remove all of the odd elements in...

0 / 20

This method takes an ArrayList of integers as a parameter and does not return anything. The method will repeat each odd element in the...

0 / 10

Complete the function getArraySize() so that it returns the size of the array passed in as an argument into the function. You cannot use...

0 / 10

Complete the function getElementAt() so that it returns the element nth in the array numbers. You may assume that the array has at least...