Bytes library

Short coding tasks, real engineering shape

Every Byte is a self-contained starter repo with a visible test file and a language-specific runner. Candidates read the README, make the tests pass, and push reviewable code — not ticked puzzle boxes.

445
Bytes
13
Languages
109
Families
Every task in the library
445 bytes
Page 1 of 15
Access Badge
Featured
C++C++Standard~3h

Access Badge

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

CMakeLists.txt
access_badge.cpp
access_badge.h
Open byte →
Access Badge
C#C#
Starter~2h
Access Badge

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

AccessBadge.cs
AccessBadge.csproj
+1 more files
Access Badge
GoGo
Starter~2h
Access Badge

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

access_badge.go
access_badge_test.go
+1 more files
Access Badge
JavaScriptJavaScript
Standard~3h
Access Badge

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

access-badge.js
access-badge.spec.js
+1 more files
Access Badge
RubyRuby
Starter~2h
Access Badge

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

access_badge.rb
access_badge_test.rb
Access Badge
RustRust
Standard~3h
Access Badge

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

Cargo.toml
Access Badge
SwiftSwift
Starter~2h
Access Badge

Manage badge factory settings. When a badge comes off the factory floor, it has no name.

Package.swift
Access Badge
TypeScriptTypeScript
Standard~3h
Access Badge

Manage badge factory settings. When a badge comes off the factory floor, it has no name.

access-badge.test.ts
access-badge.ts
+1 more files
Alarm Beacon
JavaJava
Starter~2h
Alarm Beacon

Your task is to convert a signal code number into a string of beacon alert patterns.

build.gradle
Alarm Beacon
JavaScriptJavaScript
Starter~2h
Alarm Beacon

Your task is to convert a signal code number into a string of beacon alert patterns.

alarm-beacon.js
alarm-beacon.spec.js
+1 more files
Alarm Beacon
PythonPython
Starter~2h
Alarm Beacon

Your task is to convert a signal code number into a string of beacon alert patterns.

alarm_beacon.py
alarm_beacon_test.py
Alarm Chime
JavaJava
Starter~2h
Alarm Chime

Your task is to convert an alert code number into a string of alarm chime sounds.

build.gradle
Alarm Chime
JavaScriptJavaScript
Starter~2h
Alarm Chime

Your task is to convert an alert code number into a string of alarm chime sounds.

alarm-chime.js
alarm-chime.spec.js
+1 more files
Alarm Chime
PythonPython
Starter~2h
Alarm Chime

Your task is to convert an alert code number into a string of alarm chime sounds.

alarm_chime.py
alarm_chime_test.py
Alert Priority
C#C#
Advanced~4h
Alert Priority

Your team maintains an internal alert triage service. Each incoming alert carries five severity tags — tokens composed of a level indicator and a category code (e.g. 4S 5H 7C 8D JC). The ranking rules for these tag sets follow standard poker hand rankings.

AlertPriority.cs
AlertPriority.csproj
+1 more files
Alert Priority
ElixirElixir
Advanced~4h
Alert Priority

Your team maintains an internal alert triage service. Each incoming alert carries five severity tags — tokens composed of a level indicator and a category code (e.g. 4S 5H 7C 8D JC). The ranking rules for these tag sets follow standard poker hand rankings.

mix.exs
Alert Priority
GoGo
Standard~2h
Alert Priority

Your team maintains an internal alert triage service. Each incoming alert carries five severity tags — tokens composed of a level indicator and a category code (e.g. 4♤ 5♡ 7♧ 8♢ J♧). The ranking rules for these tag sets follow standard poker hand rankings.

alert_priority.go
alert_priority_test.go
+1 more files
Alert Priority
PythonPython
Starter~2h
Alert Priority

Your team maintains an internal alert triage service. Each incoming alert carries five severity tags — tokens composed of a level indicator and a category code (e.g. 4S 5H 7C 8D JC). The ranking rules for these tag sets follow standard poker hand rankings.

alert_priority.py
alert_priority_test.py
Alert Priority
RubyRuby
Standard~3h
Alert Priority

Your team maintains an internal alert triage service. Each incoming alert carries five severity tags — tokens composed of a level indicator and a category code (e.g. 4S 5H 7C 8D JC). The ranking rules for these tag sets follow standard poker hand rankings.

alert_priority.rb
alert_priority_test.rb
Alert Priority
RustRust
Advanced~4h
Alert Priority

Your team maintains an internal alert triage service. Each incoming alert carries five severity tags — tokens composed of a level indicator and a category code (e.g. 4S 5H 7C 8D JC). The ranking rules for these tag sets follow standard poker hand rankings.

Cargo.toml
Alert Priority
SwiftSwift
Advanced~4h
Alert Priority

Your team maintains an internal alert triage service. Each incoming alert carries five severity tags — tokens composed of a level indicator and a category code (e.g. 3♡ 10♢ 7♧ 8♤ A♢). The ranking rules for these tag sets follow standard poker hand rankings.

Package.swift
Alias Clusters
CC
Standard~3h
Alias Clusters

In a user identity system, an alias cluster is a group of usernames that share exactly the same letters in a different arrangement. Two usernames belong to the same cluster if one can be formed by rearranging the letters of the other.

CMakeLists.txt
makefile
Alias Clusters
C#C#
Standard~3h
Alias Clusters

In a user identity system, an alias cluster is a group of usernames that share exactly the same letters in a different arrangement. Two usernames belong to the same cluster if one can be formed by rearranging the letters of the other.

AliasClusters.cs
AliasClusters.csproj
+1 more files
Alias Clusters
JavaScriptJavaScript
Starter~2h
Alias Clusters

In a user identity system, an alias cluster is a group of usernames that share exactly the same letters in a different arrangement. Two usernames belong to the same cluster if one can be formed by rearranging the letters of the other.

alias-clusters.js
alias-clusters.spec.js
+1 more files
Alias Clusters
PythonPython
Starter~2h
Alias Clusters

In a user identity system, an alias cluster is a group of usernames that share exactly the same letters in a different arrangement. Two usernames belong to the same cluster if one can be formed by rearranging the letters of the other.

alias_clusters.py
alias_clusters_test.py
Alias Clusters
TypeScriptTypeScript
Starter~2h
Alias Clusters

In a user identity system, an alias cluster is a group of usernames that share exactly the same letters in a different arrangement. Two usernames belong to the same cluster if one can be formed by rearranging the letters of the other.

alias-clusters.test.ts
alias-clusters.ts
+1 more files
Archive Code
JavaJava
Standard~3h
Archive Code

The archive code verification process is used to validate catalog identifiers. These usually contain dashes and look like: 3-598-21508-8.

build.gradle
Astral Pilot
JavaScriptJavaScript
Starter~2h
Astral Pilot

For an Astral Pilot simulation, each cadet begins by generating a pilot profile they can fly with.

astral-pilot.js
astral-pilot.spec.js
+1 more files
Astral Pilot
PythonPython
Starter~2h
Astral Pilot

For an Astral Pilot simulation, each cadet begins by generating a pilot profile they can fly with.

astral_pilot.py
astral_pilot_test.py
Badge Points
CC
Standard~3h
Badge Points

Given a word, compute the badge points for that word. You'll need these:

CMakeLists.txt
makefile