Guohao's Blog
Another me in a foreign land

57. Insert Intervals

2020-01-11
LeetCode
We can solve this problem by using a greedy strategy.

24. Swap Nodes in Pairs

2020-01-11
LeetCode
No summary

Problems of In-place Reversal of Linked List

2020-01-11
LeetCode
A problem set of In-place Reversal of Linked List problems.

202. Happy Number

2020-01-11
LeetCode
We can use Floyd’s cycle detection algorithm to solve this problem.

234. Palindrome Linked List

2020-01-10
LeetCode
A good example that slowed how to make your code modular.

92. Reverse Linked List II

2020-01-10
LeetCode
No summary

206. Reverse Linked List

2020-01-10
LeetCode
This post explained each step of the solution.

876. Middle of the Linked List

2020-01-08
LeetCode
No summary

19. Remove Nth Node From End of List

2020-01-08
LeetCode
Drew some comments to visualize each step of the solution.

141. Linked List Cycle

2020-01-08
LeetCode
Solving this problem with classic fast and slow pointers solution
« 6/9 »

Recent Posts

  • 142. Linked List Cycle II
  • 25. Reverse Nodes in k-Group
  • 238. Product of Array Except Self
  • 42. Trapping Rain Water
  • 438. Find All Anagrams in a String

Categories

  • Algorithm
  • Distributed System
  • LeetCode

Tags

Backtracking (1) Big Data (1) Binary Search (4) Binary Tree (14) Design (5) Dynamic Programming (17) Fast & Slow Pointers (6) Graph (1) Greedy (1) Heap (2) Linked List (14) Math (9) Merge Intervals (4) Problem Set (9) Sliding Window (3) Sort (1) Stack (3) Storage System (1) Top K (1) Two Pointers (11) Union-Find (1)

Social

GitHub
akidezhang@outlook.com
© 2020 Guohao Zhang. Generated with Hugo and Mainroad theme.