Software Engineer Software Developer Interview Questions

467,307 software engineer software developer interview questions shared by candidates

There is a company, modelled as a tree of employees and the people reporting to them. Every employee has a fun value. At a party, every employee only has fun if his direct boss is not at the party, otherwise he adds fun corresponding to his fun value to the party. Write code to find the maximum total fun that can be had at the party.
avatar

Software Engineer

Interviewed at Jane Street

4.4
Nov 22, 2012

There is a company, modelled as a tree of employees and the people reporting to them. Every employee has a fun value. At a party, every employee only has fun if his direct boss is not at the party, otherwise he adds fun corresponding to his fun value to the party. Write code to find the maximum total fun that can be had at the party.

Viewing 1831 - 1840 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 467,307 interview questions and reports from Software engineer software developer interviews. Prepare for your interview. Get hired. Love your job.