GoGo byteStarter~2h time-box

Priority Index

You are cleaning up a legacy priority table used by an internal routing tool. The old format groups item codes by integer priority. The new format needs a direct lookup from item code to priority.

Priority Index
Step 1
Clone the starter repo
Candidate gets the full project locally — README, source, tests, runner config.
Step 2
Run the visible tests
Public test file is right there. Expectations are explicit from minute one.
Step 3
Make tests pass, push
Candidate works in their own style, pushes reviewable commits for your team.
Starter repo
What candidates clone
3 files
  • go.mod
  • priority_index.go
  • priority_index_test.go

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.

Skills tested
data transformmapsnormalizationstrings
Difficulty
Starter

Fundamentals-level. Clear requirements, straightforward execution.

Keep exploring

More Go bytes

See all Go bytes
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
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
Billing Cycle
GoGo
Starter~2h
Billing Cycle

An internal billing system assigns sequential period numbers to billing cycles. Some periods are designated as extended — they receive an extra processing day for reconciliation.

billing_cycle.go
billing_cycle_test.go
+1 more files
Bundle Pricing
GoGo
Advanced~3h
Bundle Pricing

An online retailer sells five distinct product SKUs. Each item costs $8 at full price. To encourage bundle purchases, the retailer offers tiered discounts when a customer buys distinct items together:

bundle_pricing.go
bundle_pricing_test.go
+1 more files
Codec Bridge
GoGo
Starter~2h
Codec Bridge

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

cases_test.go
codec_bridge.go
+1 more files
Cohort Roster
GoGo
Standard~2h
Cohort Roster

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…

cohort_roster.go
cohort_roster_test.go
+1 more files