-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
Description
Given an object: Employee
Employee has 2 properties:
- fun: number from 0-100 that indicates how much fun the person is
- staff: Array of employee working under the employee
Write a function called guestList that takes in an employee and returns an array of employees that creates the maximum fun. Condition: An employee cannot be on the guestlist if his direct manager is going to the party.
This is a really hard problem. Think about the simplest scenario, then start from there.
Reactions are currently unavailable