Amazon Interview Question

2 basic coding questions for 75 min. Only java is accepted. - simple string compare problem - tree search problem