Smartsheet interview question

leet code easy arrays & hash