Microsoft Interview Question

Q1) Water Jug Problem Q2)Class Scheduling problem