-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathllms.txt
More file actions
121 lines (88 loc) · 5.86 KB
/
llms.txt
File metadata and controls
121 lines (88 loc) · 5.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# StructWeave - Algorithm Learning & Interview Preparation
> Weaving robust data structures with elegant algorithms — one carefully crafted solution at a time.
## About
StructWeave is a comprehensive, free, open-source algorithm course and coding interview preparation resource featuring 990 practice problems across 4 difficulty levels, 17 core algorithmic patterns, and language-specific guides for Python, Go, TypeScript, and Rust. Designed for steady, deliberate improvement with pattern-first learning and spaced repetition support.
## Key Statistics
- Total Problems: 990
- Algorithmic Patterns: 17
- Fundamentals Guides: 4
- Data Structure Guides: 8
- Language Guides: 61
- Difficulty Levels: Foundation (28), Easy (270), Medium (575), Hard (117)
## Key Resources
### Getting Started
- [README](README.md): Overview and quick start guide
- [Entry Assessment](assessments/entry-assessment.md): Skill evaluation to determine your starting point
- [Learning Roadmap](tracks/roadmap.md): Structured 4-phase learning path
- [Glossary](GLOSSARY.md): Key terminology and definitions
### The 17 Algorithmic Patterns
These patterns solve 90% of coding interview problems:
- [Two Pointers](strategies/patterns/two-pointers.md): Sorted arrays, pair finding
- [Sliding Window](strategies/patterns/sliding-window.md): Contiguous subarrays/substrings
- [Binary Search](strategies/patterns/binary-search.md): Sorted data, monotonic functions
- [Prefix Sum](strategies/patterns/prefix-sum.md): Range sum queries
- [Monotonic Stack](strategies/patterns/monotonic-stack.md): Next greater/smaller element
- [Cyclic Sort](strategies/patterns/cyclic-sort.md): Numbers 1-n, missing/duplicate
- [Merge Intervals](strategies/patterns/merge-intervals.md): Overlapping ranges
- [Two Heaps](strategies/patterns/two-heaps.md): Median, balanced partitions
- [K-way Merge](strategies/patterns/k-way-merge.md): Merge K sorted sequences
- [Graph Traversal (BFS/DFS)](strategies/patterns/graph-traversal.md): Traversal, shortest path
- [Topological Sort](strategies/patterns/topological-sort.md): Dependencies, ordering
- [Backtracking](strategies/patterns/backtracking.md): All combinations/permutations
- [Dynamic Programming](strategies/patterns/dynamic-programming.md): Optimal substructure
- [Greedy](strategies/patterns/greedy.md): Local optimal to global optimal
- [Divide & Conquer](strategies/patterns/divide-and-conquer.md): Split, solve, combine
- [Bitwise XOR](strategies/patterns/bitwise-xor.md): Find unique elements
- [Pattern Selection Guide](strategies/patterns/README.md): Flowchart for choosing patterns
### Fundamentals
Core concepts for algorithm analysis and mathematical foundations:
- [Time Complexity](strategies/fundamentals/time-complexity.md): Big-O notation, complexity analysis
- [Space Complexity](strategies/fundamentals/space-complexity.md): Memory analysis, trade-offs
- [Number Theory](strategies/fundamentals/number-theory.md): GCD, LCM, primes, modular arithmetic, divisors
- [Probability](strategies/fundamentals/probability.md): Randomized algorithms, expected value
### Data Structures
- [Arrays](strategies/data-structures/arrays.md)
- [Linked Lists](strategies/data-structures/linked-lists.md)
- [Stacks & Queues](strategies/data-structures/stacks-and-queues.md)
- [Trees](strategies/data-structures/trees.md)
- [Graphs](strategies/data-structures/graphs.md)
- [Hash Tables](strategies/data-structures/hash-tables.md)
- [Heaps](strategies/data-structures/heaps.md)
- [Tries](strategies/data-structures/tries.md)
### Language Guides
Comprehensive guides following the 80/20 principle:
- [Python Guide](languages/python/README.md): 15 guides, 5 weeks - Idioms, async, SOLID, design patterns
- [Go Guide](languages/golang/README.md): 14 guides, 5 weeks - Concurrency, generics, SOLID
- [TypeScript Guide](languages/typescript/README.md): 15 guides, 6 weeks - Type system, generics, async
- [Rust Guide](languages/rust/README.md): 17 guides, 5-6 weeks - Ownership, concurrency, WebAssembly
### Practice Problems by Difficulty
- [Foundation Problems](problems/foundation/): 28 computational thinking problems (F001-F028)
- [Easy Problems](problems/easy/): 270 problems (E001-E270)
- [Medium Problems](problems/medium/): 575 problems (M001-M575)
- [Hard Problems](problems/hard/): 117 problems (H001-H117)
- [Real-World Applications Index](problems/REAL_WORLD_APPLICATIONS.md): Problems mapped to industry domains
### Learning Paths
- **Beginner Track** (10-12 weeks): For complete beginners
- **Foundation Track** (2-3 weeks): Build computational thinking first
- **Interview Prep Track** (8-10 weeks): For experienced devs preparing for interviews
- **Refresher Track** (4 weeks): For rusty engineers getting back in shape
- **Maintenance Track** (3-5 hrs/week): For staying sharp long-term
### Assessments
- [Entry Assessment](assessments/entry-assessment.md): Determine starting point
- [Phase Assessments](assessments/README.md): Track progress through learning phases
- [Mock Interviews](assessments/mock_interviews/): Practice interview scenarios
### Practice Resources
- [Pattern Drills](practice/pattern-drills/): Focused exercises per pattern
- [Mixed Practice](practice/mixed-practice/): Multi-pattern problem sets
- [Review Schedules](practice/review-schedules/): Spaced repetition guides
## Detailed Walkthroughs
Step-by-step problem solutions:
- [Two Sum Walkthrough](examples/two-sum-walkthrough.md): Hash Map pattern (Easy)
- [Valid Parentheses Walkthrough](examples/valid-parentheses-walkthrough.md): Stack pattern (Easy)
- [Merge Intervals Walkthrough](examples/merge-intervals-walkthrough.md): Intervals pattern (Medium)
- [Course Schedule Walkthrough](examples/course-schedule-walkthrough.md): Topological Sort (Medium)
- [LRU Cache Walkthrough](examples/lru-cache-walkthrough.md): Design pattern (Medium)
## License
MIT License - Free to use, modify, and distribute.
## Repository
https://github.com/nirajkvinit/StructWeave-Algorithms