Search Results

Searching for: cci

Individual Exercises

0 / 10

Given an array of integers numbers, return a new array with just the values in numbers that are odd. The new array should just be of the...

0 / 10

Given two Points p1 and p2, return the slope of the line defined by the two points. If the line is vertical the slope is not defined and...

0 / 10

Given two Points a and b and a delta, return true if the two points are within delta units of each other. That is, return true if the...

0 / 10

The method minVal returns the value of the minimum element in the subsection of the array nums, starting at position first and ending at...

0 / 50

Write a method that takes as argument an integer size and returns an integer array of that size. The method should allocate a new array...

0 / 50

Write a method that takes two arguments, the first is an integer size and the second argument, init, is a default value to use to...

0 / 50

Write a method that will make a copy of an array. The method takes one parameter, orig. The method should make a new array the same size...

0 / 10

For this question, assume we have a stack created and stored in the variable s. This stack supports the usual push(), pop(), and clear()...

0 / 10

For this question, assume we have a stack created and stored in the variable s. This stack supports the usual push(), pop(), and clear()...

0 / 10

For this question, assume we have a stack created and stored in the variable s. This stack supports the usual push(), pop(), and clear()...