algorithms-data-structures

Solid

Algorithms and data structures from first principles through advanced analysis. Covers sorting (bubble, insertion, selection, merge, quick, heap, radix), searching (linear, binary, BFS, DFS, Dijkstra, A*), fundamental data structures (arrays, linked lists, stacks, queues, hash tables, trees, heaps, graphs, tries), complexity analysis (Big-O, Big-Omega, Big-Theta, amortized), recurrence relations, and algorithm design paradigms (divide-and-conquer, greedy, dynamic programming, backtracking). Use when analyzing, selecting, implementing, or comparing algorithms and data structures.

AI & Automation 69 stars 9 forks Updated 1 weeks ago NOASSERTION

Install

View on GitHub

Quality Score: 79/100

Stars 20%
61
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Algorithms & Data Structures An algorithm is a finite, unambiguous sequence of well-defined instructions for solving a class of problems. A data structure is an organization of data that enables efficient access and modification. Together they form the mechanical foundation of all computation. This skill catalogs the canonical algorithms and data structures with complexity analysis, implementation notes, and selection heuristics. **Agent affinity:** knuth (algorithm analysis, literate implementation), turing (computability, theoretical limits) **Concept IDs:** code-sorting-algorithms, code-searching-algorithms, code-big-o-notation, code-dynamic-programming ## Complexity Analysis at a Glance Before studying individual algorithms, internalize the complexity hierarchy. Every algorithm has a time cost and a space cost, each expressed as a function of input size n. | Class | Name | Example | |---|---|---| | O(1) | Constant | Array index access, hash table lookup (average) | | O(log n) | Logarithmic | Binary search, balanced BST lookup | | O(n) | Linear | Linear search, single traversal | | O(n log n) | Linearithmic | Merge sort, heap sort, efficient comparison sorts | | O(n^2) | Quadratic | Bubble sort, insertion sort (worst), naive string matching | | O(n^3) | Cubic | Naive matrix multiplication, Floyd-Warshall | | O(2^n) | Exponential | Brute-force subset enumeration, naive recursive Fibonacci | | O(n!) | Factorial | Brute-force permutation, naive TSP | **Big-O** gives ...

Details

Author
Tibsfox
Repository
Tibsfox/gsd-skill-creator
Created
5 months ago
Last Updated
1 weeks ago
Language
TypeScript
License
NOASSERTION

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

programming-fundamentals

Core programming concepts from variables through recursion. Covers data types (integers, floats, strings, booleans, arrays, objects), variables and scope (lexical, dynamic, block, function, global), control flow (conditionals, loops, pattern matching), functions (parameters, return values, closures, higher-order functions), recursion (base cases, call stack, tail recursion, mutual recursion), type systems (static vs dynamic, strong vs weak, type inference, generics), and error handling (exceptions, Result types, defensive programming). Use when teaching, reviewing, or diagnosing issues with fundamental programming constructs.

69 Updated 1 weeks ago
Tibsfox
AI & Automation Solid

software-design

Software design principles, patterns, and architecture from SOLID through distributed systems. Covers the five SOLID principles with violations and fixes, DRY/KISS/YAGNI heuristics, separation of concerns, 12 GoF design patterns organized by intent (creational, structural, behavioral), architectural patterns (MVC, MVP, MVVM, layered, hexagonal, microservices, event-driven), coupling and cohesion metrics, dependency injection, and the design decision framework for choosing between competing approaches. Use when making design decisions, reviewing architecture, refactoring code, or teaching software engineering principles.

69 Updated 1 weeks ago
Tibsfox
AI & Automation Listed

complexity-big-o

Trigger: complexity, Big O, cyclomatic, nested loops, queries in loops. Evaluate control and algorithmic complexity where it matters.

0 Updated today
andresnator