Amazon interview question

Technical interview - String anagrams, Parking lot design