Amazon Interview Question

Find all the palindromes in a string, fix various sorting algorithms, etc.