Data Associate Interview Questions

2,703 data associate interview questions shared by candidates

There is a parliament with n parliamentarians. Each parliamentarian can have enmity with at most 3 other parliamentarians. We want to divide the n parliamentarians into 2 groups such that a parliamentarian can have enmity with at most 1 other parliamentarian in his group. How would you divide the parliamentarians into 2 groups. Come up with an algorithm.
avatar

Associate Data Scientist

Interviewed at Zendrive

4.1
Oct 29, 2018

There is a parliament with n parliamentarians. Each parliamentarian can have enmity with at most 3 other parliamentarians. We want to divide the n parliamentarians into 2 groups such that a parliamentarian can have enmity with at most 1 other parliamentarian in his group. How would you divide the parliamentarians into 2 groups. Come up with an algorithm.

Viewing 2251 - 2260 interview questions

Glassdoor has 2,703 interview questions and reports from Data associate interviews. Prepare for your interview. Get hired. Love your job.