Realtor.com Interview Question

Write a function where when given a sentence it will return the longest word.