Code solutions for Interview Questions