All authors
0bserver07 avatar

Claude Skills by 0bserver07

github.com/0bserver07
13 skillsA× 130 installs1 views
BfsA

Breadth-first search — shortest path on unweighted graphs, level-order traversal, and the `visited` discipline that prevents O(2^n) blowups.

ai-agentsjavascriptpython
0
3
Binary SearchA

Binary search invariants, half-open intervals, and the `lo<hi` template that beats off-by-one bugs.

ai-agentsjavascriptpython
0
3
DfsA

Depth-first search — recursive vs iterative, recursion-depth gotchas, three-color cycle detection, topological sort.

ai-agentsjavascriptpython
0
3
DpA

Dynamic programming — state design, memoization vs tabulation, dimension-reduction, and when DP is the wrong tool.

ai-agentsjavascriptpython
0
3
Graph TraversalA

Pick the right traversal — BFS for unweighted shortest path, Dijkstra for weighted, A* for goal-directed, 0/1-BFS for binary weights.

ai-agentsjavascriptpython
0
3
GreedyA

Greedy algorithms — exchange-argument proofs, when greedy beats DP, classic patterns (interval scheduling, Huffman, scheduling).

ai-agentsjavascriptpython
0
3
HashA

Hash maps and sets — when O(1) lookup pays off, hash collisions, frozen keys, and hashing custom types.

ai-agentsjavascriptpython
0
3
Math TricksA

Number-theory and bit-twiddling cheat-sheet — gcd, modular exponentiation, sieve, popcount, divisor enumeration, fast prime tests.

ai-agentsjavascriptpython
0
3
RecursionA

Recursion — base case, recursive case, recursion-depth limits, tail vs non-tail, when to convert to iteration.

ai-agentsjavascriptpython
0
3
Sliding WindowA

Sliding window — fixed and variable size, expand-shrink invariant, hash-state-tracking for substring problems.

ai-agentsjavascriptpython
0
3
SortingA

Sorting — when to call the built-in, when to roll your own (counting / radix / heap), stability, custom comparators.

ai-agentsjavascriptpython
0
3
String AlgosA

String algorithms cheat-sheet — KMP, Rabin-Karp rolling hash, Z-array, suffix arrays, anagram patterns, and when to use built-ins.

ai-agentsjavascriptpython
0
3
Two PointersA

Two-pointer scans — opposite ends, same direction, fast/slow — for sorted arrays, partitioning, cycle detection.

ai-agentsjavascriptpython
0
3