Here I implement some examples from nowcoder.com and leetcode.com.
- Prime (16.8.3)
- Reverse Vowels (16.8.3)
- Linked-list Cycle I (16.8.3)
- Linked-list Cycle II (16.8.3)
- Nim Game (16.8.4)
- Sum of 2 Integer (16.8.4)
- Add 2 Number (16.8.4)
- Add Digits (16.8.5)
- Happy Number (16.8.5)
- Max Depth of Binary Tree (16.8.5)
- Ransom Note (16.8.11)
- Move Zeros (16.8.14)
- Invert Binary Tree (16.8.15)
- Intersection of 2 Arrays I (16.8.18)
- Intersection of 2 Arrays II (16.8.18)
- Remove Element (16.8.19)
- Same Tree (16.8.19)
- Excel Sheet Column Title (16.8.20)
- String Anagram (16.8.21)
- Majority Element (16.8.22)
- Single Number (16.9.2)
- Find the Difference (16.9.2)
- First Unique Character (16.9.3)
- Contains Duplicate (16.9.3)
- Reverse Linked List (16.9.4)
- Power of Three (16.9.6)
- Power of Two (16.9.6)
- Remove Duplicates From Sorted List (16.9.8)
- Number of 1 Bits (16.9.11)
- Counting Bits (16.8.19)