Meta Interview Question

Asked coding questions under time constraint