Question d’entretien chez Microsoft

Buy/Sell stocks, easy difficulty on Leetcode