Domanda di colloquio di Amazon

Divide and conquer algorithms, start with simple solution then optimize