Fundamental algorithms/datastructures