Amazon Interview Question

They asked Longest Palindromic Substring and Rotting Oranges.