Solutions to various Algorithmic Problems.