Mastercard interview question

stock span problem, dynamic programming