code snippets for some interview problems.