Flipkart interview question

- dynamic programming - array sorting and finding