Search Results

Searching for: for loop

Individual Exercises

0 / 50

Given a string str and an int n, return a string made of the first n characters of the string, followed by the first n - 1 characters of...

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 / 20

This methods takes a String object as a parameter and returns an encrypted version of the object. The encryption is done in two steps:...