Domanda di colloquio di JPMorganChase

Asked about dsa question with complexities