[LeetCode] Recommended Resources

These are the things you should understand before starting Leetcoding

Data Structure

Trie / Prefix Tree
Video

Fenwick Tree / Binary Indexed Tree
Video

Tree / Binary Search Tree

Heap

AVL Tree

Algorithm

DFS / BFS (Iterative and Recursive solutions)

Dijsktra’s Algorithm

Union Find

Recursion

Dynamic Programming (Knapsack, Longest Common Substring and Subsequence)

KMP Algorithm

Useful Resources

William Fiset’s Video
I strongly recommend his videos. They’re clear and well-paced, the diagrams are beautiful and easy to remember. He not only talks about the concept but also provides implementation code.

Geeksforgeeks
This is a website that has many leetcode problems explained and data structure and algorithms, too.