Mozammil Khan·Mar 25, 2020Best Time to Buy and Sell Stock IISay you have an array for which the ith element is the price of a given stock on day i.
Mozammil Khan·Mar 24, 2020Remove Duplicates from Sorted ArrayGiven a sorted array nums, remove the duplicates in-place such that each element appear only once and return the new length.