Domanda di colloquio di IBM

Write a function to compare two strings and determine if they're the same.