Uber Ride Problem

This lesson solves the constraints of an imaginary Uber ride problem where Republicans and Democrats can't be seated as a minority in a four passenger car.

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.