Amazon Interview Question

Coding questions...like median and valid anagram