Data Structures & AlgorithmsLearn about sorting, linked lists, graphs, trees, and more
Linked list: finding the middle element
Learn what a linked list is and how to solve this popular algorithm challenge.
Tree: traverse a simple binary tree
Learn how to construct a binary tree and then how to visit all the nodes in different orders.
Queue: implementation using a linked list
Learn what a queue is and how to implement one with a linked list.
Stack: implement a queue using two stacks
Solution for how to implement a queue using the stack data structure.