Meta interview question

LC medium and LC easy