Sollicitatievraag bij Meta

Algorithm questions, both were really easy