InterviewDB Experience · San Francisco

Team Arrangement: Assign Employees to Teams Subject to Skill and Size Constraints

Interview Experience

Problem You are given a list of employees, each with a set of skills. Assign all employees to exactly one of k teams such that: (1) each team has at least one employee with each required skill, (2) team sizes differ by at most 1. Determine if a valid assignment exists, and if so, return one. Example: Follow-ups This problem is NP-hard in the general case. What greedy heuristic would you use to get a good-enough solution quickly? How does constraint satisfaction (CSP) formulation with backtrackin…

Full Details

🔒

Unlock all Anduril questions

Full insider details, leaked discussions, and candidate experiences.

Get full access — $100 a year, unlimited access

About This Question

This is a candidate experience report from a anduril interview during the phone round.

It covers the following topics: Phone, Sql, Greedy, Coding, Backtracking .