Meta interview question

One lc easy and one medium