Question d’entretien chez J.P. Morgan

time complexity,space complexity, python lost functions