Search Results

Searching for: big O notation

Individual Exercises

0 / 10

Use appropriate method calls from the List ADT to create the following list:
< 4 19 | 23 30 >
You should assume that L is passed to...

0 / 50

Given an integer representing the radius of a sphere, compute and return the sphere's volume based on the following formula:

Volume = 4/3...

0 / 50

Given two integers, return true if the first number is evenly divisible by the second, and false otherwise. Return false if the second...

0 / 50

Given three double values representing prices, return the smallest price. For example, if the values passed in are 19.95, 12.85, and...

0 / 50

Given a day number (1-7), return the day of the week ("Sunday", "Monday", etc.). If an invalid day number is provided, return "Invalid".

...
0 / 50

Given two integers low and high representing a range, return the sum of the integers in that range. For example, if low is 12 and high is...