Random code sometimes seen on interview questions