Amazon interview question

Lexicograohically Smallest Symmetrical Names and one about Logistics