Все публикации

Find sub-array with given sum | Array

Leaders in an array | Array

Find All Distinct Elements | Find the element that appears once | Array

Count the number of possible triangles | Array

Sort an array which contain 1 to n values | Array

Segregate even and odd numbers | Array

Rearrange an array in maximum minimum form | Array

Rearrange array such that even positioned are greater than odd | Sort an array in wave form | Array

Move all zeroes to end of array | Array

Find the largest three distinct elements in an array | Second largest element in an array | Array

Split the array and add the first part to the end | Array Rotations - 17

Find element at given index after a number of rotations | Array Rotations - 16 🔥

Queries of Left and Right Circular shift on array | Array Rotations - 14

Find a rotation with maximum hamming distance | Array Rotations - 13

Reversal algorithm for right rotation of an array | Array Rotations - 12

Minimum element in a sorted and rotated array | Array Rotations - 11

Quickly find multiple left rotations of an array | Array Rotations - 10, 15

Find the Rotation Count in Rotated Sorted array | Array Rotations - 9

Maximum sum of i*arr[i] among all rotations of array | Array Rotations - 7, 8

Check if there is a pair with a given sum in a sorted rotated array | Array Rotations - 6

Search element in a sorted rotated array | Binary Search | Pivot Index | Array Rotations - 5

Rotate array to right | Array Rotations

Program to cyclically rotate an array by one | Array Rotations - 4

Block swap algorithm for array rotation | Array Rotations - 3