## Intersection of Two Linked Lists

Solution for Intersection of Two Linked Lists, naive solution and approaches of set and two pointers.

Solution for Intersection of Two Linked Lists, naive solution and approaches of set and two pointers.

In this post, we will learn how disjoint-set(union-find) data structure works, then we implement a maze generator with it.

The random number is an important topic in computer science. In this post, we will discuss how random numbers are generated, how to use random numbers to shuffle cards.

Use quicksort as an example, explain my method for learning algorithms effectively, explore the differences between imperative and functional programming styles.

This is a roadmap and tips for you to learn data structures and algorithms. This post also contains books and resources for learning.

In this post, we will write a function to randomize(shuffle) a JavaScript array.

Solution for LeetCode: Maximum Product Subarray, with naive approach and leaner scan approach.

Solution for LeetCode: Min Stack.

Solution for LeetCode challenge: word search, with depth-first searching.

Solution for LeetCode: Permutations II, with depth-first search and optimization.