A variety of solutions for interview questions