rotate abstract method

void rotate(
  1. int idx,
  2. int n
)

Implementation

void rotate(int idx, int n);