Amazon interview question

Several reasoning questions like finding patterns of two strings. Debugging questions of java code.