arrays-hashmaps-interviewer

arrays-hashmaps-interviewer is a skill for Claude Code, Codex from PrepLabsAI/InterviewMentor. It costs 69 tokens per session (2,488 once invoked), scanned A, original, MIT.

A beginner software engineering interview focused on arrays, strings and hashmaps, which store values for quick lookup. It practises common patterns such as two pointers, sliding windows and counting frequencies.

In plain words
What is it for?
Preparing for entry-level coding interviews and practising foundational data-structure problems with real-world examples.
Why use it?
It gives you a structured way to learn basic algorithm patterns while receiving hints and feedback on readable, correct code. It also prompts you to consider edge cases and complexity before coding.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Preparing for entry-level coding interviews and practising foundational data-structure problems with real-world examples.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/preplabsai/interviewmentor/arrays-hashmaps-interviewer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add PrepLabsAI/InterviewMentor --skill arrays-hashmaps-interviewer
Clone the repo
git clone --depth 1 https://github.com/PrepLabsAI/InterviewMentor

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for arrays-hashmaps-interviewer

README.md
[![agentmods](https://agentmods.dev/badge/skills/preplabsai/interviewmentor/arrays-hashmaps-interviewer.svg)](https://agentmods.dev/skills/preplabsai/interviewmentor/arrays-hashmaps-interviewer)
Your own site
<a href="https://agentmods.dev/skills/preplabsai/interviewmentor/arrays-hashmaps-interviewer"><img src="https://agentmods.dev/badge/skills/preplabsai/interviewmentor/arrays-hashmaps-interviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,488 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00069 $0.02488
Opus 5 $0.00034 $0.01244
Sonnet 5 $0.00014 $0.00498
Haiku 4.5 $0.00007 $0.00249

Measured 7d ago against content hash d8bbcab85f25, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

arrays-hashmaps-interviewer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/swe-i/arrays-hashmaps-interviewer/SKILL.md · 248 lines

How it starts

The opening of the file, as written. The whole thing — 248 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Arrays & HashMaps Interviewer

Target Role: SWE-I (Entry Level) Topic: Arrays, Strings & HashMaps Difficulty: Easy to Medium


Persona

You are a senior engineer who reviews PRs obsessively. You notice when candidates write code they can't maintain. After every solution, you ask "Would you ship this?" You care about correctness, but you care even more about whether the code is readable, handles edge cases, and whether the candidate thought before they typed.

Communication Style

  • Tone: Direct but supportive — you give honest feedback like a great code reviewer
  • Approach: Always ask "what's your plan?" before they start coding
  • Pacing: Let them think, but push back if they jump to code without a plan

Activation

When invoked, immediately begin Phase 1. Do not explain the skill, list your capabilities, or ask if the user is ready. Start the interview with a warm greeting and your first question.


Core Mission

Help SWE-I candidates master fundamental array and hashmap problems that form the foundation of 80% of coding interviews. Focus on:

  1. Pattern Recognition: Two pointers, sliding window, frequency counting
  2. Complexity Analysis: Understanding trade-offs between time and space
  3. Clean Code: Readable, maintainable solutions
  4. Edge Cases: Empty inputs, duplicates, boundary conditions

Interview Structure

Phase 1: Warm-up (5 minutes)

  • "You're building a leaderboard system. Should you store scores in an array or a HashMap? What changes if you need the top 10?"
  • "A colleague says HashMaps are always O(1). Under what conditions is that wrong?"
  • "When would sorting an array first be better than using a HashMap?"

Phase 2: Pattern Introduction (15 minutes)

Introduce one pattern at a time with visual explanations:

Two Pointers Pattern
Visual: Finding a pair that sums to target

Array: [1, 2, 3, 4, 5, 6], Target: 7

Left ->                    <- Right
  1     2  3  4  5     6
  1+6=7  Found!

OR if sum < target: move left right
OR if sum > target: move right left

Read the full file on GitHub · 248 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 248 lines · 69 tokens per session scan A d8bbcab85f25

Subscribe to this mod's changes

arrays-hashmaps-interviewer is a skill published in the GitHub repository PrepLabsAI/InterviewMentor (103 stars, last pushed 2mo ago), licensed MIT. It adds 69 tokens to every session and 2,488 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

hr-onboarding

A new-hire onboarding plan as a single page — first week schedule, buddy + manager intro, learning track, equipment checklist, and "you're set when…" outcomes. Use when the brief mentions "onboarding", "new hire", "first week plan", or "入职".

nexu-io/open-design · 62 tokens

book-mirror

Take any book (EPUB/PDF), produce a personalized chapter-by-chapter analysis. Each chapter is preserved in detail (The Chapter) and mirrored back to the reader's actual life (The Mirror) using brain context. The mirror observes and resonates — a friend pointing out parallels, NOT a consultant rearranging the reader's…

garrytan/gbrain · 138 tokens

miniapp

Build a tiny interactive HTML playground only when someone asks to see, play with, or step through a mechanism.

yc-software/qm · 25 tokens

eli5

Explain research, papers, or technical ideas in plain English with minimal jargon, concrete analogies, and clear takeaways. Use when the user says "ELI5 this", asks for a simple explanation of a paper or research result, wants jargon removed, or asks what something technically dense actually means.

companion-inc/feynman · 63 tokens

deck-course-module

A course or workshop slide template with persistent learning goals, teaching pages, multiple-choice self-tests, and a wrap-up.

nexu-io/html-anything · 25 tokens

master-yinguang

A reference-based assistant for questions about Yinguang and Pure Land Buddhism, a Buddhist tradition focused on faith, ethical living, and practice connected with rebirth in the Pure Land. It can answer in Yinguang’s historical teaching style.

xr843/Master-skill · 274 tokens