Home
/
Questions
/
Coding
/
Balanced A/B assignment stratified by department
caseSQL
Coding question · Ranking
Very Hard
Asked at Meta
Balanced A/B assignment stratified by department
ROW_NUMBER() % 2 partitioned by a stratifying dimension.
Unlock with Pro
→
Back to all coding questions
The Brief
← Previous
2024 revenue grid: month × category
Next →
Top 3 outlier months by revenue z-score