Supr Daily interview question

Brute Force and Array Implementation questions