Booking.com interview question

dynamic programming problem solving question and streaming transformation problem