Topics
59 topics across 3705 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.
Array712String264Hash Table229Math225Dynamic Programming207Greedy162Sorting154Depth-First Search129Matrix111Binary Search108Tree107Breadth-First Search96Two Pointers91Binary Tree90Simulation81Bit Manipulation77Stack70Sliding Window68Heap (Priority Queue)66Graph66Counting60Prefix Sum56Linked List43Backtracking43Design43Union Find35Recursion26Monotonic Stack25Trie23Divide and Conquer21Binary Search Tree20Number Theory20Enumeration19Queue17Ordered Set16Topological Sort14Shortest Path13Game Theory11Geometry10Combinatorics10Segment Tree9String Matching8Rolling Hash8Memoization7Database7Binary Indexed Tree5Hash Function5JavaScript4Probability & Statistics3Monotonic Queue2Shell1Brain Teaser1Doubly Linked List1Quickselect1Eulerian Circuit1Merge Sort1Difference Array1Binary Lifting1Bitmask1