Google Interview Question

simple Python functions, string comparison, list manipulation etc.