AlgoMaster Logo

Time Needed to Buy Tickets

tickets=[2, 3, 2],k=2
0 / 10
203122ktime = 0
algomaster.io
Step:Start: Calculate time for person 2 to buy 2 ticket(s)