PROJECT DOSSIER // [SOLO STUMPER 1]VIEW SOURCEBACK TO PROJECTS →

01 // PROJECT AT A GLANCE

SOLO STUMPER 1

C

A timed individual exam: splitting a sentence and sorting its words.

The program receives a sentence and must output its words in alphabetical order. The exercise is short but done alone, under time pressure, on a subject discovered the same day — it is a test of reliability as much as of skill.

Splitting a string into a word array, then printing the words grouped by first letter through a sweep from 'A' to 'Z', the comparison being written by hand and case-insensitive.

PRIMARYC
DELIVERYSOLO BUILD
VERIFICATIONmake
SOURCEINSPECTOR READY
MEDIA ATTACHMENTS (Images, Photos, Videos)

03 // KEY OUTCOMES

  • A bucket sort on the first letter: a sweep from 'A' to 'Z' rather than a comparison sort
  • An ordering relation written by hand and case-insensitive, rather than delegated to strcmp

04 // SOURCE TREE

READING SOURCE…