algorithms Code to implement various algorithms. Data structures Binary Tree Graph Deque Linked List Doubly Linked List Queue Stack UnionFind Graphs breadth-first search - shortest distance Kruskal's minimum spanning tree Kruskal's clustering Sorting bubble sort heap sort insertion sort merge sort quicksort selection sort