ludus

Multiline Notes

ld-0002 · 4 › ████░░░░░░ · text, split, shape · requires: arrays · oner lambdaless generalized golfed

You and some friends log activity in a notetaking app, but the export crams each person's notes into one comma-separated cell.

Convert it to a one-note-per-line scheme: each note on its own row, with the author named only on their first row and blank below. People appear more than once — keep those entries separate, and keep everything in the original order.

Work on it

  1. Make a copy of the template — it becomes your private sheet.
  2. Solve it however you like — helper columns and extra tabs are fair game. The one rule: the grader swaps INPUT for other datasets, so never put your own content inside INPUT.
  3. Check yourself against the expected sample output shown in your copy (and below).
  4. Submit below — Share → "anyone with the link, Viewer", paste the link. Your sheet is graded against 2 hidden datasets, so hardcoded answers won't survive.

Sample

Input (Input!A1:B11)

AuthorNote
FrankFound a hammer, Played with a pencil, Bought a new pencil
AliceFound a puzzle, Bought a new basket
DaveBorrowed a hammer, Showed off a puzzle, Borrowed a puzzle
BobShowed off a toy
DaveDropped off puzzle
ErinDropped off basket, Borrowed a basket

Expected output (Answer!A2:B40)

AuthorNote
FrankFound a hammer
Played with a pencil
Bought a new pencil
AliceFound a puzzle
Bought a new basket
DaveBorrowed a hammer
Showed off a puzzle
Borrowed a puzzle
BobShowed off a toy
DaveDropped off puzzle
ErinDropped off basket
Borrowed a basket

Adapted from "Multiline Notes" in the astral.cafe Community Practice Problems sheet.