Array Problems
Array Problems
https://www.techiedelight.com/find-pair-with-given-sum-array/
Rearrange an array such that it contains alternate positive and negative numbers
https://www.techiedelight.com/rearrange-array-positive-negative-numbers-alternate-positions/
Rearrange array such that `A[A[i]]` is set to `i` for every element `A[i]`
https://www.techiedelight.com/rearrange-array-such-that-array-index-is-set-to-i/
Replace every array element with the least greater element on its right
https://www.techiedelight.com/replace-every-element-array-least-greater-element-right/