JavaScript exercise checklist
Choose an exercise to open it in the JavaScript compiler.
Loading your progress…
Arrays and strings
Linked lists
Trees and binary search trees
Graphs
- Adjacency lists and matrices
- Shortest paths with BFS
- Dijkstra’s shortest paths
- Bellman–Ford shortest paths
- Cycles in undirected graphs
- Topological sort by prerequisites
- Kruskal’s minimum spanning tree
- Prim’s minimum spanning tree
- Depth-first search on a graph
- Eulerian paths and circuits
- Count articulation points
- Count strongly connected components
- Directed cycles with DFS
- Bipartite graphs
- Topological ordering with DFS
- Counting coin combinations
- Counting paths across a grid
- Breadth-first search on a matrix
- Depth-first search on a matrix
Sorting and searching
Stacks and queues
Hashing
Dynamic programming
Miscellaneous problems
Advanced topics
- Trie (prefix tree)
- Priority queue
- Disjoint sets (union-find)
- Find the articulation point
- Size of a strongly connected component
- Valid parentheses
- Binary tree diameter
- Balanced BST from a sorted array
- Kth smallest or largest element
- Longest palindromic substring
- Basic regular expression matching
- Bloom filter
- Decoding an LZW stream
- Graph connectivity