Tracxn interview question

Basic Array programs and some dynamic programming