leetcode - 2830. Maximize the Profit as the Salesman
DescriptionYouaregivenanintegernrepresentingthenumberofhousesonanumberline,numberedfrom0ton-1.Additionally,youaregivena2Dintegerarrayofferswhereoffers[i]=[starti,endi,goldi],indicatingthatithbuyerwant