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.

|Home/Coding & Algorithms/Rillet
Rillet logo
Rillet
May 12, 2026
mediumBackend EngineerTechnical ScreenCoding & Algorithms
5
0
Loading...

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...