Main asks four questions on stdin — sort order, value type, algorithm, and how many values — then reads one value per line. It animates the sort, prints the full step log, and prints the sorted result ...
Java Code for Contraction Hierarchies Algorithm, A-Star Algorithm and Bidirectional Dijkstra Algorithm. Tested and Verified Code.