TRAINING CATEGORIES
TRAINING PROGRAMS
Difficulty Level: MEDIUM
Problem Statement:
Given an array of integers arr[] of size N and an integer, the task is to rotate the array elements to the left by x positions.
Input:
arr[] = [1,5,8,9,2,5,7,4] , x=1
Output:
arr[] = [4,1,5,8,9,2,5,7]
We use cookies to make interactions with our websites and services easy and meaningful. Please read our Privacy Policy for more details.