Algorithms and data structures This is my implementation of some algorithms and data structures, along with their example problems: Binary and ternary search Stack and queue Heap Segment tree Fenwick tree Breadth first search (BFS) Depth first search (DFS) Single source shortest path algorithms (SSSP)