Algorithms are the heart and soul of computer science. Their applications range from network routing and computational genomics to public-key …