N-th Ticket Number With a Given Digit Total

Company: ThoughtSpot_25oct

Difficulty: medium