Code snippets of interview questions