InterviewBit Problems   Best Time to Buy and Sell Stocks I : Solved