-
Notifications
You must be signed in to change notification settings - Fork 0
Arrays
Varma Penmetsa edited this page Jul 21, 2021
·
19 revisions
- Circular Array
- Reverse a given array
- Reverse Vowels of a String
- Rotates array by d elements
- Reverse Words in a String I
- The array has been rotated (anti-clockwise) k number of times. Given such an array, find the value of k.
- Given a rotated sorted array, perform search in O(log n) time
- Fibonacci Numbers
- Given an array of + & - numbers, arrange them such that all - integers appear before all the + integers
- Given a sorted array of positive integers, rearrange the array alternately
- Given array with + & - integers, Rearrange the array elements so that positive and negative numbers are placed alternatively
- Given array with + & - integers, place all negative element at the end of array without changing the order of + & - integers
- Sort Array In WaveForm
- Given an array of n integers, find the 3 elements such that a[i] < a[j] < a[k]
- Maximize sum of consecutive differences in a circular array
- Given an array A[] and a number x, check for pair in A[] with sum as x
- Max Subarray Sum
- Max Subarray Sum Circular Array
- Dutch National Flag Problem
- Partition Problem
- Three Way Partition
- Bitonic Subarray MaxLength
- Longest Increasing Subsequence
- Longest Bitonic Subsequence
- Largest Sum Contiguous Subarray
- Largest Product Contiguous Subarray
- Merge Sorted arrays