Список задач по темам
Всем привет! Во-первых хочу сказать спасибо хабру, что выложили мою статью к себе, это дало буст статье и этому каналу, низкий поклон.
Во-вторых в этой статье (Больше половины аудитории кстати пришло с нее) я обещал скинуть задачки под каждую тему, которую я выделил в роадмапе, вот они:
Массивы и хеширование:
https://leetcode.com/problems/contains-duplicate/description/
https://leetcode.com/problems/valid-anagram/description/
https://leetcode.com/problems/two-sum/description/
https://leetcode.com/problems/top-k-frequent-elements/description/ (Эта задача раньше попадалась 5 раз из 8 на собесах в Авито)
Два указателя:
https://leetcode.com/problems/valid-palindrome/description
https://leetcode.com/problems/remove-duplicates-from-sorted-array
https://leetcode.com/problems/linked-list-cycle/description
https://leetcode.com/problems/linked-list-cycle-ii/description
Стэк:
https://leetcode.com/problems/valid-parentheses/description
https://leetcode.com/problems/palindrome-linked-list/description
Бин. Поиск:
https://leetcode.com/problems/search-insert-position/description
https://leetcode.com/problems/sqrtx/description
https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/description
https://leetcode.com/problems/search-in-rotated-sorted-array-ii/description (Эту задачку я решал в Т-Банк)
Cкользяцие окна:
https://leetcode.com/problems/contains-duplicate-ii/description
https://leetcode.com/problems/longest-substring-without-repeating-characters/description
https://leetcode.com/problems/minimum-window-substring/description
Связный список:
https://leetcode.com/problems/merge-two-sorted-lists/description/
https://leetcode.com/problems/remove-nth-node-from-end-of-list/description/
https://leetcode.com/problems/add-two-numbers/description/
https://leetcode.com/problems/merge-k-sorted-lists/description/
Деревья:
https://leetcode.com/problems/invert-binary-tree/description/
https://leetcode.com/problems/same-tree/description/
https://leetcode.com/problems/balanced-binary-tree/description/
BFS/DFS:
https://leetcode.com/problems/maximum-depth-of-binary-tree/description/
https://leetcode.com/problems/binary-tree-preorder-traversal/description
https://leetcode.com/problems/binary-tree-postorder-traversal/description/
Backtracking:
https://leetcode.com/problems/subsets/description/
https://leetcode.com/problems/combination-sum/description/
https://leetcode.com/problems/combination-sum-ii/description/
Куча/Очередь с приоритетом:
https://leetcode.com/problems/kth-largest-element-in-a-stream/description/
https://leetcode.com/problems/last-stone-weight/description/
https://leetcode.com/problems/k-closest-points-to-origin/description/ (Эта задачка попадалась лично мне в Яндексе)
Графы:
https://leetcode.com/problems/number-of-islands/ (Тоже задачка с Яндекса)
https://leetcode.com/problems/max-area-of-island/ (Давал такую задачку, когда работал в ВК)
https://leetcode.com/problems/clone-graph/
ДП:
https://leetcode.com/problems/climbing-stairs/
https://leetcode.com/problems/min-cost-climbing-stairs/
https://leetcode.com/problems/unique-paths/
https://leetcode.com/problems/longest-common-subsequence/
Интервалы:
https://leetcode.com/problems/insert-interval/
https://leetcode.com/problems/merge-intervals/
Жадные алгоритмы:
https://leetcode.com/problems/maximum-subarray/
https://leetcode.com/problems/jump-game/
Большинство из этих задач - самая база, потому что все на одну базовую идею. Прорешав эти задачки 95% задач с собеседований вы будете спокойно закрывать
Так же делюсь с вами сайтом, где бесплатно можно подсмотреть задачки с собеса компании, в которую вы идете: https://seanprashad.com/leetcode-patterns/
+ В комментариях можете найти задачи в MD формате
https://t.me/siliconchannel/71?comment=356
💎Kremniy;
Post #71
8.79K

- 🔥 74
- ❤ 12
- 👍 9
- ✍ 4