Implement Stratified Sampling by Country
Company: Perplexity
Role: Data Scientist
Category: Coding & Algorithms
Difficulty: medium
Interview Round: Technical Screen
Overview: This question evaluates understanding of stratified sampling, proportional allocation across groups, reproducible random sampling, data grouping and edge-case handling in an in-memory dataset.
Read the full Perplexity Data Scientist interview experience this question came from