Pergunta de entrevista da empresa JPMorganChase

Complete a function with the following parameters...