Quick Overview

Rebalance experiment buckets to exact target percentages while retaining as many existing assignments as the contract allows. The challenge focuses on canonical tie-breaking, nonmutation, global uniqueness, deterministic reuse of free buckets, and linear-scale bookkeeping.

Rebalance Experiment Buckets with Minimal Reassignment

Company: Pinterest

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: medium

Interview Round: Technical Screen

Overview: Rebalance experiment buckets to exact target percentages while retaining as many existing assignments as the contract allows. The challenge focuses on canonical tie-breaking, nonmutation, global uniqueness, deterministic reuse of free buckets, and linear-scale bookkeeping.

Loading…