Skip to content
kgleong edited this page Oct 12, 2015 · 1 revision

Data Structures

  • Binary Heap - a binary tree that obeys heap properties.

Graphs

Shortest Paths

  • Shortest path in a DAG - simple algorithm for finding the shortest path in a directed acyclic graph.
  • Djikstra's - finds the shortest path in a directed graph where all edge weights must be non-negative.
  • Bellman-Ford - where possible, finds the shortest path in a graph that contains negative cycles.

Problem solving approaches

Clone this wiki locally