Arm interview question

leet code easy and medium