Array (NY) Interview Question

How do you design an API