Given a queue of student preferences and a queue of scholarship types (0 and 1), students take scholarship from the front if it matches their preference. If not, the scholarship is moved to the back…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.