ElixirElixir byteAdvanced~4h time-box

Sensor Grid

Add the adjacent hazard counts to a completed Sensor Grid board. Sensor Grid is an operations dashboard that uses numeric hints to show how many hazards are directly adjacent (horizontally, vertically, diagonally) to a square.

Sensor Grid
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
1 files
  • mix.exs

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
algorithmsenumerationreduce
Difficulty
Advanced

Non-trivial design choices. Tests multiple skills under time pressure.

Keep exploring

More Elixir bytes

See all Elixir bytes
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
Cohort Roster
ElixirElixir
Starter~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…

mix.exs
Command Triplets
ElixirElixir
Starter~2h
Command Triplets

A legacy industrial robot controller receives a continuous stream of three-character instruction codes. Each triplet maps to a named operation. Your job is to build a decoder that translates individual codes and full instruction streams.

mix.exs
Contact Cleanup
ElixirElixir
Starter~2h
Contact Cleanup

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.

mix.exs
Deploy Window
ElixirElixir
Standard~3h
Deploy Window

Calculate the date of scheduled deployment windows. Teams often deploy on the same day of the week each month. In this exercise, you will take a description of a deployment window date and return the actual date.

mix.exs
Flag Sequence
ElixirElixir
Starter~2h
Flag Sequence

A maritime signal station transmits messages using a sequence of signal flags. A numeric transmission code determines which flags to raise and in what order.

mix.exs