Aidaptive interview question

How would you design a scalable API using flask