Solution to sample challenges on InterviewStreet