public class Permutation { public static <T> List<T> rotatedTo(int i, List<T> list) { List<T> rotated = new ArrayList<>(); rotated.add(list.get(i));
確定! 回上一頁