Distribute Annual Revenue Across Twelve Months

Quick Overview

Allocate an annual revenue amount in cents evenly across twelve months without floating-point arithmetic. Preserve the total exactly and assign any remainder to the earliest months.

Distribute Annual Revenue Across Twelve Months

Company: Rillet

Role: Backend Engineer

Category: Coding & Algorithms

Difficulty: medium

Interview Round: Technical Screen

Overview: Allocate an annual revenue amount in cents evenly across twelve months without floating-point arithmetic. Preserve the total exactly and assign any remainder to the earliest months.

Rillet logo
Rillet
May 12, 2026
mediumBackend EngineerTechnical ScreenCoding & Algorithms
Loading...