Online assesment questions
- given an array of data and a positive integer k for every window of size k find the largest value . constraints on n was upto 1e5 so nlogn solution also gets accepted.
- given a string of length n you can apply the following operation only once select first k or last k charcters and reverse it and find the lexciographical smallest string.