Алгоритмические задачи
Общий поток: LeetCode + e-maxx. Данные хранятся в отдельных LiteDB.
17. Letter Combinations of a Phone Number
LeetCode · medium · оригинал: C#
22. Generate Parentheses
LeetCode · medium · оригинал: C#
28. Find the Index of the First Occurrence in a String
LeetCode · easy · оригинал: C#
30. Substring with Concatenation of All Words
LeetCode · hard · оригинал: C#
32. Longest Valid Parentheses
LeetCode · hard · оригинал: C#
36. Valid Sudoku
LeetCode · medium · оригинал: C#
37. Sudoku Solver
LeetCode · hard · оригинал: C#
38. Count and Say
LeetCode · medium · оригинал: C#
59. Spiral Matrix II
LeetCode · medium · оригинал: C#
60. Permutation Sequence
LeetCode · hard · оригинал: C#
63. Unique Paths II
LeetCode · medium · оригинал: C#
67. Add Binary
LeetCode · easy · оригинал: C#
68. Text Justification
LeetCode · hard · оригинал: C#
72. Edit Distance
LeetCode · medium · оригинал: C#
73. Set Matrix Zeroes
LeetCode · medium · оригинал: C#
74. Search a 2D Matrix
LeetCode · medium · оригинал: C#
76. Minimum Window Substring
LeetCode · hard · оригинал: C#
79. Word Search
LeetCode · medium · оригинал: C#
85. Maximal Rectangle
LeetCode · hard · оригинал: C#
87. Scramble String
LeetCode · hard · оригинал: C#
90. Subsets II
LeetCode · medium · оригинал: C#
91. Decode Ways
LeetCode · medium · оригинал: C#
93. Restore IP Addresses
LeetCode · medium · оригинал: C#
97. Interleaving String
LeetCode · medium · оригинал: C#
115. Distinct Subsequences
LeetCode · hard · оригинал: C#
126. Word Ladder II
LeetCode · hard · оригинал: C#
127. Word Ladder
LeetCode · hard · оригинал: C#
130. Surrounded Regions
LeetCode · medium · оригинал: C#
131. Palindrome Partitioning
LeetCode · medium · оригинал: C#
132. Palindrome Partitioning II
LeetCode · hard · оригинал: C#
139. Word Break
LeetCode · medium · оригинал: C#
140. Word Break II
LeetCode · hard · оригинал: C#
150. Evaluate Reverse Polish Notation
LeetCode · medium · оригинал: C#
151. Reverse Words in a String
LeetCode · medium · оригинал: C#
157. Read N Characters Given Read4
LeetCode · easy · оригинал: C#
160. Intersection of Two Linked Lists
LeetCode · easy · оригинал: C#
165. Compare Version Numbers
LeetCode · medium · оригинал: C#
166. Fraction to Recurring Decimal
LeetCode · medium · оригинал: C#
168. Excel Sheet Column Title
LeetCode · easy · оригинал: C#
171. Excel Sheet Column Number
LeetCode · easy · оригинал: C#
186. Reverse Words in a String II
LeetCode · medium · оригинал: C#
187. Repeated DNA Sequences
LeetCode · medium · оригинал: C#
190. Reverse Bits
LeetCode · easy · оригинал: C#
191. Number of 1 Bits
LeetCode · easy · оригинал: C#
205. Isomorphic Strings
LeetCode · easy · оригинал: C#
208. Implement Trie (Prefix Tree)
LeetCode · medium · оригинал: C#
211. Design Add and Search Words Data Structure
LeetCode · medium · оригинал: C#
256. Paint House
LeetCode · medium · оригинал: C#
257. Binary Tree Paths
LeetCode · easy · оригинал: C#
240. Search a 2D Matrix II
LeetCode · medium · оригинал: C#
243. Shortest Word Distance
LeetCode · easy · оригинал: C#
244. Shortest Word Distance II
LeetCode · medium · оригинал: C#
245. Shortest Word Distance II
LeetCode · medium · оригинал: C#
247. Strobogrammatic Number II
LeetCode · medium · оригинал: C#
249. Group Shifted Strings
LeetCode · medium · оригинал: C#
269. Alien Dictionary
LeetCode · hard · оригинал: C#
267. Palindrome Permutation II
LeetCode · medium · оригинал: C#
214. Shortest Palindrome
LeetCode · hard · оригинал: C#
273. Integer to English Words
LeetCode · hard · оригинал: C#
215. Kth Largest Element in an Array
LeetCode · medium · оригинал: C#
314. Binary Tree Vertical Order Traversal
LeetCode · medium · оригинал: C#
221. Maximal Square
LeetCode · medium · оригинал: C#
387. First Unique Character in a String
LeetCode · easy · оригинал: C#
389. Find the Difference
LeetCode · easy · оригинал: C#
393. UTF-8 Validation
LeetCode · medium · оригинал: C#
301. Remove Invalid Parentheses
LeetCode · hard · оригинал: C#
395. Longest Substring with At Least K Repeating Characters
LeetCode · medium · оригинал: C#
299. Bulls and Cows
LeetCode · medium · оригинал: C#
433. Minimum Genetic Mutation
LeetCode · medium · оригинал: C#
297. Serialize and Deserialize Binary Tree
LeetCode · hard · оригинал: C#
294. Flip Game II
LeetCode · medium · оригинал: C#
291. Word Pattern II
LeetCode · medium · оригинал: C#
282. Expression Add Operators
LeetCode · hard · оригинал: C#
288. Unique Word Abbreviation
LeetCode · medium · оригинал: C#
459. Repeated Substring Pattern
LeetCode · easy · оригинал: C#
227. Basic Calculator II
LeetCode · medium · оригинал: C#
228. Summary Ranges
LeetCode · easy · оригинал: C#
474. Ones and Zeroes
LeetCode · medium · оригинал: C#
331. Verify Preorder Serialization of a Binary Tree
LeetCode · medium · оригинал: C#
234. Palindrome Linked List
LeetCode · easy · оригинал: C#
332. Reconstruct Itinerary
LeetCode · hard · оригинал: C#
336. Palindrome Pairs
LeetCode · hard · оригинал: C#
472. Concatenated Words
LeetCode · hard · оригинал: C#
378. Kth Smallest Element in a Sorted Matrix
LeetCode · medium · оригинал: C#
527. Word Abbreviation
LeetCode · hard · оригинал: C#
531. Lonely Pixel I
LeetCode · medium · оригинал: C#
302. Smallest Rectangle Enclosing Black Pixels
LeetCode · hard · оригинал: C#
535. Encode and Decode TinyURL
LeetCode · medium · оригинал: C#
536. Construct Binary Tree from String
LeetCode · medium · оригинал: C#
537. Complex Number Multiplication
LeetCode · medium · оригинал: C#
583. Delete Operation for Two Strings
LeetCode · medium · оригинал: C#
588. Design In-Memory File System
LeetCode · hard · оригинал: C#
399. Evaluate Division
LeetCode · medium · оригинал: C#
401. Binary Watch
LeetCode · easy · оригинал: C#
402. Remove K Digits
LeetCode · medium · оригинал: C#
403. Frog Jump
LeetCode · hard · оригинал: C#
316. Remove Duplicate Letters
LeetCode · medium · оригинал: C#
318. Maximum Product of Word Lengths
LeetCode · medium · оригинал: C#
320. Generalized Abbreviation
LeetCode · medium · оригинал: C#
405. Convert a Number to Hexadecimal
LeetCode · easy · оригинал: C#
484. Find Permutation
LeetCode · medium · оригинал: C#
408. Valid Word Abbreviation
LeetCode · easy · оригинал: C#
411. Minimum Unique Word Abbreviation
LeetCode · hard · оригинал: C#
418. Sentence Screen Fitting
LeetCode · medium · оригинал: C#
419. Battleships in a Board
LeetCode · medium · оригинал: C#
553. Optimal Division
LeetCode · medium · оригинал: C#
556. Next Greater Element III
LeetCode · medium · оригинал: C#
557. Reverse Words in a String III
LeetCode · easy · оригинал: C#
592. Fraction Addition and Subtraction
LeetCode · medium · оригинал: C#
599. Minimum Index Sum of Two Lists
LeetCode · easy · оригинал: C#
513. Find Bottom Left Tree Value
LeetCode · medium · оригинал: C#
515. Find Largest Value in Each Tree Row
LeetCode · medium · оригинал: C#
516. Longest Palindromic Subsequence
LeetCode · medium · оригинал: C#
518. Coin Change II
LeetCode · medium · оригинал: C#
521. Longest Uncommon Subsequence I
LeetCode · easy · оригинал: C#
604. Design Compressed String Iterator
LeetCode · easy · оригинал: C#
524. Longest Word in Dictionary through Deleting
LeetCode · medium · оригинал: C#
606. Construct String from Binary Tree
LeetCode · medium · оригинал: C#
353. Design Snake Game
LeetCode · medium · оригинал: C#
609. Find Duplicate File in System
LeetCode · medium · оригинал: C#
616. Add Bold Tag in String
LeetCode · medium · оригинал: C#
621. Task Scheduler
LeetCode · medium · оригинал: C#
631. Design Excel Sum Formula
LeetCode · hard · оригинал: C#
358. Rearrange String k Distance Apart
LeetCode · hard · оригинал: C#
672. Bulb Switcher II
LeetCode · medium · оригинал: C#
311. Sparse Matrix Multiplication
LeetCode · medium · оригинал: C#
635. Design Log Storage System
LeetCode · medium · оригинал: C#
636. Exclusive Time of Functions
LeetCode · medium · оригинал: C#
638. Shopping Offers
LeetCode · medium · оригинал: C#
639. Decode Ways II
LeetCode · hard · оригинал: C#
640. Solve the Equation
LeetCode · medium · оригинал: C#
566. Reshape the Matrix
LeetCode · easy · оригинал: C#
567. Permutation in String
LeetCode · medium · оригинал: C#
656. Coin Path
LeetCode · hard · оригинал: C#
655. Print Binary Tree
LeetCode · medium · оригинал: C#
652. Find Duplicate Subtrees
LeetCode · medium · оригинал: C#
648. Replace Words
LeetCode · medium · оригинал: C#
647. Palindromic Substrings
LeetCode · medium · оригинал: C#
677. Map Sum Pairs
LeetCode · medium · оригинал: C#
678. Valid Parenthesis String
LeetCode · medium · оригинал: C#
680. Valid Palindrome II
LeetCode · easy · оригинал: C#
359. Logger Rate Limiter
LeetCode · easy · оригинал: C#
438. Find All Anagrams in a String
LeetCode · medium · оригинал: C#
439. Ternary Expression Parser
LeetCode · medium · оригинал: C#
361. Bomb Enemy
LeetCode · medium · оригинал: C#
362. Design Hit Counter
LeetCode · medium · оригинал: C#
711. Number of Distinct Islands II
LeetCode · hard · оригинал: C#
712. Minimum ASCII Delete Sum for Two Strings
LeetCode · medium · оригинал: C#
767. Reorganize String
LeetCode · medium · оригинал: C#
771. Jewels and Stones
LeetCode · medium · оригинал: C#
772. Basic Calculator III
LeetCode · medium · оригинал: C#
717. 1-bit and 2-bit Characters
LeetCode · easy · оригинал: C#
720. Longest Word in Dictionary
LeetCode · medium · оригинал: C#
490. The Maze
LeetCode · medium · оригинал: C#
721. Accounts Merge
LeetCode · medium · оригинал: C#
498. Diagonal Traverse
LeetCode · medium · оригинал: C#
499. The Maze III
LeetCode · hard · оригинал: C#
340. Longest Substring with At Most K Distinct Characters
LeetCode · medium · оригинал: C#
726. Number of Atoms
LeetCode · hard · оригинал: C#
727. Minimum Window Subsequence
LeetCode · hard · оригинал: C#
730. Count Different Palindromic Subsequences
LeetCode · hard · оригинал: C#
734. Sentence Similarity
LeetCode · easy · оригинал: C#
736. Parse Lisp Expression
LeetCode · hard · оригинал: C#
737. Sentence Similarity II
LeetCode · medium · оригинал: C#
738. Monotone Increasing Digits
LeetCode · medium · оригинал: C#
744. Find Smallest Letter Greater Than Target
LeetCode · easy · оригинал: C#
745. Prefix and Suffix Search
LeetCode · hard · оригинал: C#
748. Shortest Completing Word
LeetCode · easy · оригинал: C#
1286. Iterator for Combination
LeetCode · medium · оригинал: C#
750. Number Of Corner Rectangles
LeetCode · medium · оригинал: C#
751. IP to CIDR
LeetCode · medium · оригинал: C#
752. Open the Lock
LeetCode · medium · оригинал: C#
753. Cracking the Safe
LeetCode · medium · оригинал: C#
756. Pyramid Transition Matrix
LeetCode · medium · оригинал: C#
988. Smallest String Starting From Leaf
LeetCode · medium · оригинал: C#
1337. The K Weakest Rows in a Matrix
LeetCode · easy · оригинал: C#
1424. Diagonal Traverse II
LeetCode · medium · оригинал: C#
1248. Count Number of Nice Subarrays
LeetCode · medium · оригинал: C#
1249. Minimum Remove to Make Valid Parentheses
LeetCode · medium · оригинал: C#
921. Minimum Add to Make Parentheses Valid
LeetCode · medium · оригинал: C#
909. Snakes and Ladders
LeetCode · medium · оригинал: C#
1255. Maximum Score Words Formed by Letters
LeetCode · hard · оригинал: C#
1463. Cherry Pickup II
LeetCode · hard · оригинал: C#
1002. Find Common Characters
LeetCode · easy · оригинал: C#
981. Time Based Key-Value Store
LeetCode · medium · оригинал: C#
1356. Sort Integers by The Number of 1 Bits
LeetCode · easy · оригинал: C#
761. Special Binary String
LeetCode · · оригинал: C#
931. Minimum Falling Path Sum
LeetCode · medium · оригинал: C#
1347. Minimum Number of Steps to Make Two Strings Anagram
LeetCode · medium · оригинал: C#
1047. Remove All Adjacent Duplicates In String
LeetCode · easy · оригинал: C#
779. K-th Symbol in Grammar
LeetCode · medium · оригинал: C#
688. Knight Probability in Chessboard
LeetCode · medium · оригинал: C#
1312. Minimum Insertion Steps to Make a String Palindrome
LeetCode · · оригинал: C#
1461. Check If a String Contains All Binary Codes of Size K
LeetCode · medium · оригинал: C#
960. Delete Columns to Make Sorted III
LeetCode · hard · оригинал: C#
893. Groups of Special-Equivalent Strings
LeetCode · medium · оригинал: C#
935. Knight Dialer
LeetCode · medium · оригинал: C#
1278. Palindrome Partitioning III
LeetCode · hard · оригинал: C#
1257. Smallest Common Region
LeetCode · medium · оригинал: C#
940. Distinct Subsequences II
LeetCode · hard · оригинал: C#
999. Available Captures for Rook
LeetCode · easy · оригинал: C#
944. Delete Columns to Make Sorted
LeetCode · easy · оригинал: C#
955. Delete Columns to Make Sorted II
LeetCode · medium · оригинал: C#
1230. Toss Strange Coins
LeetCode · medium · оригинал: C#
1358. Number of Substrings Containing All Three Characters
LeetCode · medium · оригинал: C#
1012. Numbers With Repeated Digits
LeetCode · hard · оригинал: C#
348. Design Tic-Tac-Toe
LeetCode · medium · оригинал: C#
1102. Path With Maximum Minimum Value
LeetCode · medium · оригинал: C#
1208. Get Equal Substrings Within Budget
LeetCode · medium · оригинал: C#
784. Letter Case Permutation
LeetCode · medium · оригинал: C#
839. Similar String Groups
LeetCode · hard · оригинал: C#
899. Orderly Queue
LeetCode · hard · оригинал: C#
820. Short Encoding of Words
LeetCode · · оригинал: C#
1253. Reconstruct a 2-Row Binary Matrix
LeetCode · medium · оригинал: C#
939. Minimum Area Rectangle
LeetCode · medium · оригинал: C#
1017. Convert to Base -2
LeetCode · medium · оригинал: C#
425. Word Squares
LeetCode · hard · оригинал: C#
1087. Brace Expansion
LeetCode · medium · оригинал: C#
423. Reconstruct Original Digits from English
LeetCode · medium · оригинал: C#
906. Super Palindromes
LeetCode · hard · оригинал: C#
1178. Number of Valid Words for Each PuzzleHardTopicsHint
LeetCode · hard · оригинал: C#
1220. Count Vowels Permutation
LeetCode · · оригинал: C#
1202. Smallest String With Swaps
LeetCode · medium · оригинал: C#
1209. Remove All Adjacent Duplicates in String II
LeetCode · medium · оригинал: C#
1332. Remove Palindromic Subsequences
LeetCode · easy · оригинал: C#
1396. Design Underground System
LeetCode · medium · оригинал: C#
1034. Coloring A Border
LeetCode · medium · оригинал: C#
1531. String Compression II
LeetCode · hard · оригинал: C#
1165. Single-Row Keyboard
LeetCode · easy · оригинал: C#
942. DI String Match
LeetCode · easy · оригинал: C#
1197. Minimum Knight Moves
LeetCode · medium · оригинал: C#
1003. Check If Word Is Valid After Substitutions
LeetCode · medium · оригинал: C#
1055. Shortest Way to Form String
LeetCode · medium · оригинал: C#
1247. Minimum Swaps to Make Strings Equal
LeetCode · hard · оригинал: C#
1100. Find K-Length Substrings With No Repeated Characters
LeetCode · medium · оригинал: C#
929. Unique Email Addresses
LeetCode · easy · оригинал: C#
1370. Increasing Decreasing String
LeetCode · easy · оригинал: C#
1160. Find Words That Can Be Formed by Characters
LeetCode · easy · оригинал: C#
949. Largest Time for Given Digits
LeetCode · medium · оригинал: C#
1190. Reverse Substrings Between Each Pair of Parentheses
LeetCode · medium · оригинал: C#
903. Valid Permutations for DI Sequence
LeetCode · hard · оригинал: C#
943. Find the Shortest Superstring
LeetCode · hard · оригинал: C#
681. Next Closest Time
LeetCode · medium · оригинал: C#
1329. Sort the Matrix Diagonally
LeetCode · medium · оригинал: C#
1351. Count Negative Numbers in a Sorted Matrix
LeetCode · easy · оригинал: C#
1233. Remove Sub-Folders from the Filesystem
LeetCode · · оригинал: C#
782. Transform to Chessboard
LeetCode · hard · оригинал: C#
1263. Minimum Moves to Move a Box to Their Target Location
LeetCode · hard · оригинал: C#
200. Number of Islands
LeetCode · medium · оригинал: C#
861. Score After Flipping Matrix
LeetCode · medium · оригинал: C#
926. Flip String to Monotone Increasing
LeetCode · medium · оригинал: C#
1061. Lexicographically Smallest Equivalent String
LeetCode · medium · оригинал: C#
1416. Restore The Array
LeetCode · hard · оригинал: C#
1074. Number of Submatrices That Sum to Target
LeetCode · hard · оригинал: C#
1016. Binary String With Substrings Representing 1 To N
LeetCode · medium · оригинал: C#
1044. Longest Duplicate Substring
LeetCode · hard · оригинал: C#
956. Tallest Billboard
LeetCode · hard · оригинал: C#
1372. Longest ZigZag Path in a Binary Tree
LeetCode · medium · оригинал: C#
1189. Maximum Number of Balloons
LeetCode · easy · оригинал: C#
1275. Find Winner on a Tic Tac Toe Game
LeetCode · easy · оригинал: C#
947. Most Stones Removed with Same Row or Column
LeetCode · medium · оригинал: C#
682. Baseball Game
LeetCode · medium · оригинал: C#
1023. Camelcase Matching
LeetCode · medium · оригинал: C#
819. Most Common Word
LeetCode · · оригинал: C#
1406. Stone Game III
LeetCode · hard · оригинал: C#
1021. Remove Outermost Parentheses
LeetCode · easy · оригинал: C#
1242. Web Crawler Multithreaded
LeetCode · medium · оригинал: C#
1180. Count Substrings with Only One Distinct Letter
LeetCode · easy · оригинал: C#
1268. Search Suggestions System
LeetCode · medium · оригинал: C#
996. Number of Squareful Arrays
LeetCode · · оригинал: C#
916. Word Subsets
LeetCode · medium · оригинал: C#
1234. Replace the Substring for Balanced String
LeetCode · medium · оригинал: C#
1496. Path Crossing
LeetCode · easy · оригинал: C#
424. Longest Repeating Character Replacement
LeetCode · medium · оригинал: C#
1519. Number of Nodes in the Sub-Tree With the Same Label
LeetCode · medium · оригинал: C#
1246. Palindrome Removal
LeetCode · hard · оригинал: C#
1071. Greatest Common Divisor of Strings
LeetCode · easy · оригинал: C#
1438. Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit
LeetCode · medium · оригинал: C#
1032. Stream of Characters
LeetCode · hard · оригинал: C#
937. Reorder Data in Log Files
LeetCode · medium · оригинал: C#
1428. Leftmost Column with at Least a One
LeetCode · medium · оригинал: C#
959. Regions Cut By Slashes
LeetCode · medium · оригинал: C#
1472. Design Browser History
LeetCode · medium · оригинал: C#
1198. Find Smallest Common Element in All Rows
LeetCode · medium · оригинал: C#
1143. Longest Common Subsequence
LeetCode · medium · оригинал: C#
821. Shortest Distance to a Character
LeetCode · · оригинал: C#
1216. Valid Palindrome III
LeetCode · hard · оригинал: C#
1001. Grid Illumination
LeetCode · hard · оригинал: C#
1048. Longest String Chain
LeetCode · easy · оригинал: C#
1360. Number of Days Between Two Dates
LeetCode · easy · оригинал: C#
345. Reverse Vowels of a String
LeetCode · easy · оригинал: C#
1125. Smallest Sufficient Team
LeetCode · hard · оригинал: C#
763. Partition Labels
LeetCode · · оригинал: C#
E098. Z-функция строки и её вычисление
e-maxx · algorithm · оригинал: C/C++
E099. Префикс-функция. Алгоритм Кнута- Морриса-Пратта
e-maxx · algorithm · оригинал: C/C++
E100. Алгоритмы хэширования в задачах на строки
e-maxx · algorithm · оригинал: C/C++
E101. Алгоритм Рабина-Карпа поиска подстроки в строке за O (N)
e-maxx · algorithm · оригинал: C/C++
E102. Разбор выражений. Обратная польская нотация
e-maxx · algorithm · оригинал: C/C++
E103. Суффиксный массив
e-maxx · algorithm · оригинал: C/C++
E104. Суффиксный автомат
e-maxx · algorithm · оригинал: C/C++
E105. Нахождение всех подпалиндромов
e-maxx · algorithm · оригинал: C/C++
E106. Декомпозиция Линдона. Алгоритм Дюваля. Нахождение наименьшего циклического сдвига
e-maxx · algorithm · оригинал: C/C++
E107. Алгоритм Ахо-Корасик
e-maxx · algorithm · оригинал: C/C++
E108. Суффиксное дерево. Алгоритм Укконена
e-maxx · algorithm · оригинал: C/C++
E109. Поиск всех тандемных повторов в строке. Алгоритм Мейна-Лоренца
e-maxx · algorithm · оригинал: C/C++
E110. Поиск подстроки в строке с помощью Z- или Префикс-функции
e-maxx · algorithm · оригинал: C/C++
E111. Решение задачи "сжатие строки" за O (N)
e-maxx · algorithm · оригинал: C/C++