dsa-templates Logo

Contents:

  • Stack
  • Queue and Deque
  • Generate all possible substructures of a given structure
  • Binary search
  • Binary Tree
  • Algos on graph
  • Trie
  • Dynamic Programming
  • Backtracking
  • Union Find (Disjoint Set)
  • Minimum Spanning Tree
  • Fenwick Tree
  • Segment Tree
  • Sorted List
  • Topological Sort
  • MultiSet
  • Examples of One-liners
dsa-templates
  • Overview: module code

All modules for which code is available

  • _queue_._queue_
  • all_subs.all_subs
  • backtrack.backtrack
  • bfs.bfs
  • binary_search.binary_search
  • dfs.dfs
  • dijkstra.dijkstra
  • dynam_prog.dynam_prog
  • fenwick.fenwick
  • min_span_tree.min_span_tree
  • one_line.one_line
  • stack.stack
  • top_sort.top_sort
  • tree.tree
  • trie.trie
  • union_find.union_find

© Copyright 2025, David Mikheev.

Built with Sphinx using a theme provided by Read the Docs.