Question d’entretien chez Meta

Write a program to record the largest ascending sequence, given an array of integers.