Software Engineer Javascript Interview Questions

666,294 software engineer javascript 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 2211 - 2220 interview questions

Glassdoor has 666,294 interview questions and reports from Software engineer javascript interviews. Prepare for your interview. Get hired. Love your job.