Back to projectsProject archive

Cracking the Crime Code

Java investigation workflow that decodes criminal flyers, maps organization hierarchies, and plans arrest operations to maximize captures.

Context

Built as a data structures project where the challenge was not only deciphering encoded messages, but also turning that decoded data into an operational arrest report.

Problem

The assignment required extracting organization and leader information from hidden patterns in text, then traversing each hierarchy to determine the arrest sequence that captures the most members.

Solution

The project organizes the workflow into message decoding, recursive arrest planning, and report generation, using digital roots, positional text extraction, and hierarchy traversal to produce the final case summary.

Key decisions

  • -Separated deciphering, arrest logic, and reporting so each stage could be tested independently.
  • -Used recursion to walk the criminal hierarchy instead of hardcoding organization depth.
  • -Kept the final output report-oriented to make the algorithmic work visible and easy to validate.

Key features

  • -Organization identification through digital-root analysis
  • -Leader extraction from word-position patterns in flyer text
  • -Recursive arrest planning across underling hierarchies
  • -Captain, arrest-count, and organization-status reporting

Results

  • -Turned a course prompt into a coherent multi-step investigation pipeline.
  • -Shows practical use of recursion and data structures beyond toy examples.
  • -Adds a stronger algorithmic case study to the archive section.

Stack

JavaData StructuresAlgorithmsRecursion

Links