From claude-library
Algorithm and coding interview prep for data scientists. Covers DSA, SQL challenges, pandas/numpy problems, statistics, and ML implementation. Claude presents problems, you solve, Claude corrects. Use when you want to practice algorithms, prep for interviews, or drill coding problems.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-library:learning-algo-practiceThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Purpose**: Build problem-solving skills through practice — Claude is the interviewer, you are the candidate.
Purpose: Build problem-solving skills through practice — Claude is the interviewer, you are the candidate.
Use when:
vs
/learning-codebase-mastery: That skill teaches you specific codebases. This one teaches transferable problem-solving patterns you carry to any interview or project.
The user picks a track (or says "random" / "mix"):
Arrays, hashmaps, trees, graphs, dynamic programming, sorting, searching, sliding window, two pointers, BFS/DFS, greedy.
Joins, window functions, CTEs, subqueries, GROUP BY edge cases, NULL handling, query optimization, self-joins, pivot/unpivot.
Data cleaning, merging/joining, groupby-apply, vectorized operations, reshaping (pivot, melt, stack), time series manipulation, performance (avoiding loops).
Hypothesis testing, confidence intervals, Bayesian reasoning, probability distributions, A/B test design, sample size calculation, p-value interpretation, common traps (Simpson's paradox, multiple comparisons).
Implement ML algorithms without libraries: linear regression, logistic regression, decision trees, k-means, KNN, gradient descent, cross-validation, regularization. Understand the math, not just the API.
First: Check your memory for existing progress (algo-practice.md). If found, load the learner's session history, weak areas, and strong patterns. Greet with context: "Welcome back — you've been strong on [X] but could use more practice on [Y]."
Ask the user:
Give a clear problem statement:
Critical rules:
After the user submits their solution:
After review:
After each problem, update a mental scorecard:
## Session Progress
| # | Track | Topic | Difficulty | Result | Pattern |
|---|-------|-------|------------|--------|---------|
| 1 | SQL | Window functions | Medium | Solved with hint | RANK/ROW_NUMBER |
| 2 | DSA | Two pointers | Easy | Solved clean | Two pointer |
| 3 | Pandas | GroupBy-apply | Medium | Wrong approach | Split-apply-combine |
### Weak areas to practice
- GroupBy patterns in pandas
- Dynamic programming (not attempted yet)
### Strong areas
- SQL window functions
- Array manipulation
After the summary: Save all progress to memory. Update algo-practice.md with the full session history and pattern tracker. Update MEMORY.md with a concise session summary.
## Problem [#N] — [Track]: [Topic]
Difficulty: [Easy/Medium/Hard]
### Problem
[clear problem statement with examples]
### Constraints
[time/space or dataset assumptions]
---
[USER SOLVES]
---
### Review
- Correctness: [pass/fail with explanation]
- Efficiency: O(n) time / O(1) space [or equivalent]
- Style: [feedback]
### Pattern: [Pattern Name]
[When to recognize this pattern, 2-3 sentences]
### Optimal Solution (if different)
[code with explanation]
### Reinforce: Try This Next
[similar problem statement — do NOT solve it]
# Start a mixed practice session
/learning-algo-practice mix, medium difficulty
# SQL-focused prep
/learning-algo-practice SQL, focus on window functions and CTEs
# Timed interview simulation
/learning-algo-practice DSA, hard, timed 30 minutes
# Auto-calibrate difficulty
/learning-algo-practice pandas, assess me
# ML implementation
/learning-algo-practice ML from scratch, implement logistic regression
npx claudepluginhub tabers77/claude_experimentsGenerates interactive LeetCode-style coding playgrounds for interview prep. Teaches DSA patterns with real product challenges, progressive difficulty, and Python/TypeScript/Kotlin/Swift support.
Provides adaptive tutoring, lesson planning, practice exercises, retrieval checks, and study guides for any topic. Useful when a user wants to learn, understand, or review something.
Generates personalized tutorials that build on your existing knowledge using real code from your project, with spaced repetition and quizzes.