Posts by Reetesh Kumar
Author Biographical Info: A passionate programmer who loves taking part in coding competitions and always ready to learn new stuff.
In this tutorial, we’ll learn how to sort a nearly sorted array (or K sorted array) in Python. K sorted array means that every element is at most K steps ahead or behind it.... Read More
In this tutorial, we’ll learn the block swap algorithm for array rotation (left) in Java. Consider a given array (a) : 1, 2, 3, 4, 5, 6, 7, 8, 9 After rotatin.... Read More