Number of Smooth Descent Periods of a Stock - DSA Problem | Talentd