0

Similar to this.
Input a list and rotate N numbers in it given their indices. Rotate means the second number goes to the first position, the third number goes to the second, ... the first goes to the Nth.
Test Cases
[1, 2, 3, 4, 5, 6, 7], [1, 3, 6] -> [3, 2, 6, 4, 5, 1, 7]
Rules
You can assume t...