Traffic Burst
You are building a diagnostic tool for a network traffic monitor. The monitor records packet counts across 64 consecutive time slots. Due to a burst pattern, the number of packets in each slot is exactly double the previous slot, starting with 1 packet in the…

- CMakeLists.txt
- traffic_burst.cpp
- traffic_burst.h
The full README and the hidden test suite are available once you open the byte in your CodeSubmit workspace. Candidates never see the hidden tests.
Fundamentals-level. Clear requirements, straightforward execution.
More C++ bytes

Manage badge factory settings. When an access badge is issued, it starts out unnamed.

Convert an encoded payload, represented as a sequence of symbol values in one radix, to any other radix.

You are building a roster system for a developer training academy. Participants are assigned to numbered cohorts based on their experience track. The program coordinator needs to view participants grouped by cohort, with each cohort's list sorted alphabeticall…

You are writing a decoder for a legacy industrial robot controller. The controller receives a continuous stream of 3-character instruction codes. Each triplet maps to a named operation. If a HALT code appears, execution stops immediately.

You are working on a small internal tool that compares two configuration snapshots.

You are cleaning imported contact records before they are saved into a CRM. Each record includes a freeform phone field entered by a human, so the data can contain spaces, dots, parentheses, hyphens, and an optional leading country code of 1.