Meta interview question

Asked coding questions under time constraint