Algorithms And Dynamic Data Structures For Basic Graph Optimization Problems.