Empresa engajada
Given an array of daily stock prices for an interval of consecutive days, write an algorithm to return an array containing, for each element in the original array, the number of days in the future the first higher stock price occurs.