my manager just asked me to slow down with the work coding challenges
| yooper | 11/22/25 | | Amateur Millennial Butt Porn | 11/22/25 | | yooper | 11/22/25 | | SneakersSO | 11/22/25 | | yooper | 11/22/25 | | SneakersSO | 11/22/25 | | yooper | 11/22/25 | | SneakersSO | 11/22/25 | | yooper | 11/22/25 | | Paralegal Jahangir | 11/22/25 | | yooper | 11/22/25 | | Paralegal Jahangir | 11/22/25 | | yooper | 11/22/25 | | yooper | 11/22/25 |
Poast new message in this thread
 |
Date: November 22nd, 2025 9:40 PM Author: yooper (πΊπΈ π΅π±)
sure. this is one from another challenge:
You're the bouncer at a night club. Your goal is to fill the venue with N=1000 people while satisfying constraints like "at least 40% Berlin locals", or "at least 80% wearing all black". People arrive one by one, and you must immediately decide whether to let them in or turn them away. Your challenge is to fill the venue with as few rejections as possible while meeting all minimum requirements. ## How it works - People arrive sequentially with binary attributes (e.g., female/male, young/old, regular/new) - You must make immediate accept/reject decisions - The game ends when either: (a) venue is full (1000 people) (b) you rejected 20,000 people
## Scenarios & Scoring There are 3 different scenarios. For each, you are given a list of constraints and statistics on the attribute distribution. You can assume, participants are sampled i.i.d., meaning the attribute distribution will not change as the night goes on. You know the overall relative frequency of each attribute and the correlation between attributes. You don't know the exact distribution. You score is the number of people you rejected before filling the venue (the less the better)."
The constraints & attribute distribution stats will be received by querying an API that produces a response in the form: { "gameId": UUID, "constraints": { "attribute": AttributeId, "minCount": number }[], "attributeStatistics": { "relativeFrequencies": { [attributeId]: number // 0.0-1.0 }, "correlations": { [attributeId1]: { [attributeId2]: number // -1.0-1.0 } } } }
(http://www.autoadmit.com/thread.php?thread_id=5801230&forum_id=2...#49452987) |
|
|