Data Structure Chooser

Recommend basic data structures for a task. Use when a junior developer needs help choosing lists, maps, or sets.

lidge-jun Updated 5 repo stars

File contents

Data Structure Chooser

Inputs to request

  • Core operations and their frequency.
  • Ordering and uniqueness requirements.
  • Expected data size and memory limits.

Workflow

  1. Clarify operations: lookup, insert, iterate, order.
  2. Recommend a structure with time/space tradeoffs.
  3. Provide a small example usage.

Output

  • Recommendation and rationale.

Quality bar

  • State the complexity assumptions clearly.
  • Offer an alternative when tradeoffs are close.

lidge-jun/cli-jaw-skills commit b8ab389837

Frequently asked questions

npx get-skill add lidge-jun/data-structure-chooser