# Category Archives: Searching

Given non-negative integers K, M, and an array arr[] with N elements find the Mth element of the array after K left rotations. Examples: Input:â€¦ Read More
Given non-negative integers K, M, and an array arr[] with N elements find the Mth element of the array after K left rotations. Examples: Input:â€¦ Read More
Given non-negative integers K, M, and an array arr[] with N elements find the Mth element of the array after K left rotations. Examples: Input:â€¦ Read More
Given non-negative integers K, M, and an array arr[] with N elements find the Mth element of the array after K left rotations. Examples: Input:â€¦ Read More
Given an array A[ ] consisting of N distinct integers, the task is to find the number of elements which are strictly greater than allâ€¦ Read More
Given an array A[ ] consisting of N distinct integers, the task is to find the number of elements which are strictly greater than allâ€¦ Read More
Given an array arr[], the task is to find the number of rotations required to convert the given array to sorted form.Examples: Input: arr[] =â€¦ Read More
Given an array arr[], the task is to find the number of rotations required to convert the given array to sorted form.Examples: Input: arr[] =â€¦ Read More
Given an array arr[], the task is to find the number of rotations required to convert the given array to sorted form.Examples: Input: arr[] =â€¦ Read More
Given an array arr[], the task is to find the number of rotations required to convert the given array to sorted form.Examples: Input: arr[] =â€¦ Read More
Given an array arr[] of size N. The task is to maximize the minimum value of the array after performing given operations. In an operation,â€¦ Read More
Given two arrays X[] and Y[] of size N, the task is to find the longest subarray in X[] containing only unique values such thatâ€¦ Read More
Given an array arr[] of length N (1â‰¤ arr[i] â‰¤ N) and an integer K. The task is to find the largest median of anyâ€¦ Read More
Given a sorted array arr[] of size N, the task is to find the number of unique elements in this array.  Note: The array isâ€¦ Read More
Given an array of strings arr[], the task is to find the smallest string which contains all the characters of the given array of strings.â€¦ Read More