Skip to content

Tag Archives: rotation

Given a permutation arrays A[] consisting of N numbers in range [1, N], the task is to left rotate all the even numbers and right… Read More
Given two integers N and K, the task is to rotate the digits of N by K. If K is a positive integer, left rotate… Read More
Given two integers N and K, the task is to rotate the digits of N by K. If K is a positive integer, left rotate… Read More
Given an array arr[] of size N and an integer K, the task is to right rotate the array K times. Examples:  Input: arr[] =… Read More
Given two 2D arrays arr[][] and brr[][] of equal size. The task is to find the minimum number of rotations required either clockwise or anticlockwise… Read More
Given a linked list and two positions ‘m’ and ‘n’. The task is to rotate the sublist from position m to n, to the right… Read More
Given a linked list and two positions ‘m’ and ‘n’. The task is to rotate the sublist from position m to n, to the right… Read More
Given a linked list and two positions ‘m’ and ‘n’. The task is to rotate the sublist from position m to n, to the right… Read More
Given n strings that are permutations of each other. We need to make all strings same with an operation that takes front character of any… Read More
Given n strings that are permutations of each other. We need to make all strings same with an operation that takes front character of any… Read More
Given n strings that are permutations of each other. We need to make all strings same with an operation that takes front character of any… Read More

Start Your Coding Journey Now!