← Questions

Repair deterministic A/B experiment assignment across replicas and ramps

0
MicrosoftCodingLast asked Dec 2026

A coding interview question asked in Microsoft's technical phone screen, last asked Dec 2026. It tests hashing, a/b testing and c++.

An A/B testing service in C++14 assigns each user to Control or Treatment. Two problems appeared.

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

What it tests

hashing · a/b testing · c++ · debugging

Your code and the AI tutor open when you unlock this question.