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

# Tag Archives: rotation

Given two permutations P1 and P2 of numbers from 1 to N, the task is to find the maximum count of corresponding same elements in… 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 a square matrix mat[][] of dimension N and an integer K, the task is to rotate the matrix by 90 degrees K times without… Read More

Given a singly linked list and an integer K, the task is to rotate the linked list clockwise to the right by K places.Examples: Input:… Read More