Содержание курса
Introduction
2 урока
1.
Background
↗
2.
Topic Order
↗
Lessons
7 уроков
1.
Arrays
↗
2.
Strings
↗
3.
Trees
↗
4.
Linked Lists
↗
5.
Hash Tables
↗
6.
Breadth-First Search
↗
7.
Graphs
↗
Arrays (Easy)
35 уроков
1.
Two Sum
↗
2.
Remove Duplicates from Sorted Array
↗
3.
Remove Element
↗
4.
Search Insert Position
↗
5.
Maximum Subarray
↗
6.
Plus One
↗
7.
Merge Sorted Array
↗
8.
Pascal's Triangle
↗
9.
Pascal's Triangle II
↗
10.
Best Time to Buy and Sell Stock
↗
11.
Best Time to Buy and Sell Stock II
↗
12.
Two Sum II - Input array is sorted
↗
13.
Rotate Array
↗
14.
Majority Element
↗
15.
Contains Duplicate
↗
16.
Contains Duplicate II
↗
17.
Missing Number
↗
18.
Move Zeroes
↗
19.
Third Maximum Number
↗
20.
Max Consecutive Ones
↗
21.
Fibonacci Number
↗
22.
Array Partition I
↗
23.
Maximum Average Subarray I
↗
24.
Non-decreasing Array
↗
25.
Longest Continuous Increasing Subsequence
↗
26.
Degree of an Array
↗
27.
Find Pivot Index
↗
28.
Maximize Distance to Closest Person
↗
29.
Monotonic Array
↗
30.
Squares of a Sorted Array
↗
31.
Spiral Matrix
↗
32.
Rotate Image
↗
33.
Jump Game
↗
34.
Merge Intervals
↗
35.
Insert Interval
↗
String (Easy)
22 урока
1.
Reorder Data in Log Files
↗
2.
Add Strings
↗
3.
Most Common Word
↗
4.
Valid Palindrome
↗
5.
Valid Palindrome II
↗
6.
First Unique Character in a String
↗
7.
Longest Common Prefix
↗
8.
Count and Say
↗
9.
Reverse String
↗
10.
Implement strStr()
↗
11.
Reverse Words in a String III
↗
12.
Greatest Common Divisor of Strings
↗
13.
Defanging an IP Address
↗
14.
Ransom Note
↗
15.
Repeated Substring Pattern
↗
16.
Reverse String II
↗
17.
Split a String in Balanced Strings
↗
18.
Reverse Vowels of a String
↗
19.
Length of Last Word
↗
20.
To Lower Case
↗
21.
Detect Capital
↗
22.
Longest Palindromic Substring
↗
Hash Table (Easy)
21 урок
1.
Roman to Integer
↗
2.
Verifying an Alien Dictionary
↗
3.
Subdomain Visit Count
↗
4.
Happy Number
↗
5.
Single Number
↗
6.
Count Primes
↗
7.
Valid Anagram
↗
8.
Intersection of Two Arrays
↗
9.
Island Perimeter
↗
10.
Isomorphic Strings
↗
11.
Intersection of Two Arrays II
↗
12.
Bulls and Cows
↗
13.
Word Pattern
↗
14.
Maximum Number of Balloons
↗
15.
Employee Importance
↗
16.
Find the Difference
↗
17.
Longest Word in Dictionary
↗
18.
Longous Harmonious Subsequence
↗
19.
Distribute Candies
↗
20.
Group Anagrams
↗
21.
Find Duplicate File in System
↗
Two Pointers
15 уроков
1.
K-diff Pairs in an Array
↗
2.
Three Sum
↗
3.
3Sum Closest
↗
4.
4Sum
↗
5.
Longest Substring Without Repeating Characters
↗
6.
Partition Labels
↗
7.
Container with Most Water
↗
8.
Trapping Rain Water
↗
9.
Interval List Intersections
↗
10.
Minimum Size Subarray Sum
↗
11.
Sort Colors
↗
12.
Partition List
↗
13.
Rotate List
↗
14.
Count Unique Characters of All Substrings of a Given String
↗
15.
Subarray Product Less than K
↗
Stack
15 уроков
1.
Valid Parentheses
↗
2.
Min Stack
↗
3.
Next Greater Element I
↗
4.
Remove All Adjacent Duplicates In String
↗
5.
Baseball Game
↗
6.
Remove Outermost Parentheses
↗
7.
Decode String
↗
8.
Asteroid Collision
↗
9.
Daily Temperatures
↗
10.
Evaluate Reverse Polish Notation
↗
11.
Validate Stack Sequences
↗
12.
Next Greater Element II
↗
13.
Sum of Subarray Minimums
↗
14.
Remove K Digits
↗
15.
Flatten Nested List Iterator
↗
Queue
4 урока
1.
Number of Recent Calls
↗
2.
Design Circular Queue
↗
3.
Design Circular Deque
↗
4.
Task Scheduler
↗
Linked List
19 уроков
1.
Merge Two Sorted Lists
↗
2.
Reverse Linked List
↗
3.
Palindrome Linked List
↗
4.
Remove Linked List Elements
↗
5.
Intersection of Two Linked Lists
↗
6.
Remove Duplicates from Sorted List
↗
7.
Middle of the Linked List
↗
8.
Linked List Cycle
↗
9.
Linked List Cycle II
↗
10.
Convert Binary Number in a Linked List to an Integer
↗
11.
Delete Node in a Linked List
↗
12.
Add Two Numbers
↗
13.
Add Two Numbers II
↗
14.
Copy List with Random Pointer
↗
15.
Reverse Linked List II
↗
16.
Sort List
↗
17.
Swap Nodes in Pairs
↗
18.
Remove Nth Node from End of List
↗
19.
Merge k Sorted Lists
↗
Binary Search
12 уроков
1.
Peak Index in a Mountain Array
↗
2.
Sqrt(x)
↗
3.
Valid Perfect Square
↗
4.
Is Subsequence
↗
5.
Count Negative Numbers in a Sorted Matrix
↗
6.
Search Insert Position
↗
7.
Find Smallest Letter Greater Than Target
↗
8.
Guess Number Higher or Lower
↗
9.
Search in Rotated Sorted Array
↗
10.
Find First and Last Position of Element in Sorted Array
↗
11.
Find Minimum in Rotated Sorted Array
↗
12.
Capacity To Ship Packages Within D Days
↗
Backtracking
9 уроков
1.
Letter Combinations of a Phone Number
↗
2.
Permutations
↗
3.
Permutations II
↗
4.
Word Search
↗
5.
Combination Sum
↗
6.
Combination Sum II
↗
7.
Restore IP Addresses
↗
8.
Subsets
↗
9.
Subsets II
↗
Binary Trees (Easy)
11 уроков
1.
Same Tree
↗
2.
Symmetric Tree
↗
3.
Maximum Depth of Binary Tree
↗
4.
Path Sum
↗
5.
Invert Binary Tree
↗
6.
Binary Tree Paths
↗
7.
Merge Two Binary Trees
↗
8.
Sum of Left Leaves
↗
9.
Cousins in Binary Tree
↗
10.
Leaf-Similar Trees
↗
11.
Maximum Width of Binary Tree
↗
Binary Search Trees
13 уроков
1.
Search in a Binary Search Tree
↗
2.
Range Sum of BST
↗
3.
Lowest Common Ancestor of a Binary Search Tree
↗
4.
Convert Sorted Array to Binary Search Tree
↗
5.
Convert Sorted List to Binary Search Tree
↗
6.
Validate Binary Search Tree
↗
7.
Delete Node in a BST
↗
8.
Unique Binary Search Trees
↗
9.
Unique Binary Search Trees II
↗
10.
Serialize and Deserialize BST
↗
11.
Construct Binary Search Tree from Preorder Traversal
↗
12.
Binary Search Tree to Greater Sum Tree
↗
13.
Kth Smallest Element in a BST
↗
Heap
10 уроков
1.
Kth Largest Element in a Stream
↗
2.
Last Stone Weight
↗
3.
K Closest Points to Origin
↗
4.
Top K Frequent Elements
↗
5.
Kth Largest Element in an Array
↗
6.
Reorganize String
↗
7.
Super Ugly Number
↗
8.
Ugly Number II
↗
9.
Split Array into Consecutive Subsequences
↗
10.
Find K Pairs with Smallest Sums
↗
Bit Manipulation (Easy)
9 уроков
1.
Sum of Two Integers
↗
2.
Binary Watch
↗
3.
Reverse Bits
↗
4.
Number of 1 Bits
↗
5.
Power of Two
↗
6.
Convert a Number to Hexadecimal
↗
7.
Power of Four
↗
8.
Number Complement
↗
9.
Hamming Distance
↗
Breadth-First Search
9 уроков
1.
Binary Tree Level Order Traversal
↗
2.
Binary Tree Level Order Traversal II
↗
3.
Binary Tree Zigzag Level Order Traversal
↗
4.
Maximum Depth of N-ary Tree
↗
5.
Rotting Oranges
↗
6.
Word Ladder
↗
7.
Pacific Atlantic Water Flow
↗
8.
Flood Fill
↗
9.
Course Schedule
↗
Depth-First Search
6 уроков
1.
Number of Islands
↗
2.
Max Area of Island
↗
3.
Course Schedule
↗
4.
Course Schedule II
↗
5.
Clone Graph
↗
6.
Longest Increasing Path in a Matrix
↗