Topics
59 topics across 3548 tagged problems
Browse LeetCode C# solutions organised by algorithmic pattern. Each topic page lists all problems for that pattern along with a short editorial explaining when and how to apply the technique. Mastering these patterns — rather than memorising individual solutions — is the most transferable skill for technical interviews.
Array682String249Hash Table219Math203Dynamic Programming199Greedy153Sorting148Depth-First Search128Matrix108Tree106Binary Search105Breadth-First Search95Binary Tree89Two Pointers88Simulation79Bit Manipulation72Stack70Graph66Sliding Window65Heap (Priority Queue)65Prefix Sum53Counting52Linked List43Design43Backtracking42Union Find35Recursion25Monotonic Stack25Trie23Divide and Conquer21Binary Search Tree20Queue17Ordered Set16Enumeration15Topological Sort14Number Theory14Shortest Path13Geometry9Combinatorics9String Matching8Rolling Hash8Memoization7Database7Segment Tree7Binary Indexed Tree5Game Theory5Hash Function5JavaScript4Probability & Statistics3Monotonic Queue2Shell1Brain Teaser1Doubly Linked List1Quickselect1Eulerian Circuit1Merge Sort1Difference Array1Binary Lifting1Bitmask1