Algorithm
LeetCode 2073 solution
2073. Time Needed to Buy Tickets #Easy #Queue problem There are n people in a line queuing to buy tickets, where the 0th person is at the front of the line and the (n - 1)th person is at the back of the line. You are given a 0-indexed