UKG interview question

Puzzles, oops and basic dsa and some random questions