Meta interview question

It's mainly coding interview.