InterviewDB Experience · San Francisco

Valid Lineup: Validate a Sports Lineup Against Position and Eligibility Constraints

Interview Experience

Problem A fantasy sports team has a lineup of n slots, each requiring a specific position (e.g., PG, SG, SF, PF, C, FLEX). Each player has one or more eligible positions. Determine whether a given player-to-slot assignment is valid, and if not, find if a valid assignment exists (using backtracking or bipartite matching). Example: Follow-ups This is a bipartite matching problem — describe the Hopcroft-Karp algorithm and its complexity. If a slot can be filled by any of 3 position types (FLEX), ho…

Full Details

🔒

Unlock all Draftkings 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 draftkings interview during the phone round.

It covers the following topics: Phone, Graph, Coding, Backtracking, Onsite .