The following exercises is a method to be added to the ArrayIntList class from this chapter.
Write a method called rotate that moves the value at the front of a list of integers to the end of the list. For example, if a variable called list stores [8, 23, 19, 7, 12, 4], the call of list.rotate( ); should move the value 8 from the front of the list to the back of the list, producing [23, 19, 7, 12, 4, 8].
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.