Best Time to Buy and Sell Stock
CodingPhone, OnsiteSoftware Engineer, Machine Learning EngineerReported Nov, 2026High Frequency
Company question banks are included with the Insider plan.
You are given an integer array prices where prices[i] is the price of NeetCoin on the ith day.
You may choose a single day to buy one NeetCoin and choose a different day in the future to...