Priceline.com Interview Question

1. DSA question 2. logic question ticket price calculation