JavaScript
🧱 Data structures
Organize information with Map, Set, stacks, queues, linked lists, and trees, implementing them with classes.
What you'll learn
- Use
Mapfor key-value pairs andSetfor unique values, choosing each one as appropriate. - Implement a stack (LIFO) and a queue (FIFO) with classes and their basic operations.
- Build linked lists and trees by linking nodes that point to other nodes.
- Traverse a tree depth-first (DFS) and breadth-first (BFS) to visit all of its nodes.
Lessons
Map and SetModern collections for key-value pairs and unique values. Stacks and queuesLIFO and FIFO structures implemented with classes. Linked lists and treesNodes that point to other nodes. Tree traversals (DFS and BFS)Visit all nodes depth-first or breadth-first.Practice this module in the app
DevPath is a hands-on course: you read the theory here; in the app you put it into practice with exercises that really run, offline.
Start free in the app →