UST interview question

Like basic dsa questions on arrays hashmap