leetcode

LeetCode Solutions: A Record of My Problem Solving Journey.( leetcode题解,记录自己的leetcode解题之路。)

23 articles 55.8k View on GitHub ↗
23 articles
When to Use Recursion vs Iteration in Algorithm Design

Decide between recursion and iteration based on problem structure, depth, and memory. Understand when each approach offers superior clarity and efficiency for algorithm design.

deep-dive
Mar 6, 2026
Common String Manipulation Patterns and Techniques for LeetCode Solutions

Unlock LeetCode string solutions with six key patterns like two-pointer sliding windows, prefix sums, tries, rolling hash, DP, and greedy frequency analysis. Solve problems faster.

tutorial
Mar 6, 2026
Matrix and 2D Array Traversal Patterns: 8 Essential Techniques for Grid Problems

Master 8 essential matrix and 2D array traversal patterns like row-major, spiral, and BFS/DFS to conquer grid problems on LeetCode. Optimize your solutions efficiently.

how-to-guide
Mar 6, 2026
Linked List Problem Solving Techniques: A Complete Guide to LeetCode Mastery

Master linked list problems with dummy heads, fast/slow pointers, stitch-and-link operations, and systematic pointer updates. Avoid cycles and errors in this complete LeetCode guide.

how-to-guide
Mar 6, 2026
Hash Table Optimization Strategies: A Technical Guide to High-Performance Lookups

Learn hash table optimization strategies for high performance including hash functions, collision resolution, load factors, and composite key encoding to boost lookup speed.

tutorial
Mar 6, 2026
Stack-Based Problem Solving Patterns: 5 Essential Techniques from the LeetCode Repository

Discover 5 essential stack-based problem solving patterns including monotonic stacks, iterative traversals, and parentheses matching. Enhance your algorithm skills with these LeetCode techniques.

best-practices
Mar 6, 2026
How to Identify and Validate Greedy Algorithms: A Complete Guide

Master identifying and validating greedy algorithms. Learn to make locally optimal choices for global solutions with this complete guide. Perfect for LeetCode challenges.

tutorial
Mar 6, 2026
How to Identify the Problem Type from Its Description in LeetCode

Learn to identify LeetCode problem types by extracting keywords, constraints, and number limits. Discover algorithmic categories in the azl397985856/leetcode repository.

how-to-guide
Mar 6, 2026
Common LeetCode Patterns by Top Tech Companies: Essential Algorithms for FAANG Interviews

Master common LeetCode patterns used by FAANG companies like Google and Meta. Explore essential algorithms with template code in the azl397985856/leetcode repository to ace your technical interviews.

tutorial
Mar 6, 2026
How to Optimize Brute Force Solutions: 8 Proven Patterns from the LeetCode Knowledge Base

Optimize brute force solutions by replacing loops with data structures like prefix sums, hash maps, and sliding windows. Reduce time complexity from O(N^2) to O(N).

how-to-guide
Mar 6, 2026
How to Use the Trie Data Structure for String Operations: A Complete Guide

Master the Trie data structure for efficient string operations. Learn how to insert, search, and perform prefix checks in O(m) time with this comprehensive guide.

deep-dive
Mar 6, 2026
Island Counting Pattern in Grid Problems: A Complete DFS Guide

Master island counting in grid problems with a complete DFS guide. Learn how to identify and count connected land cells efficiently. Boost your algorithm skills.

tutorial
Mar 6, 2026

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →