A collection of popular algorithms used in coding interviews, and their solutions.