Class DefaultFramedOnHeapAggregatable

    • Method Detail

      • invertedOrderForLastK

        public static int invertedOrderForLastK​(int x,
                                                int n,
                                                int k)
        Inverts order for the last K elements. For n=3, k=2 - it changes the iteration to 0,2,1