Amazon interview question

Asked a coding question based on string manipulation and sorting, where different rules applied depending on whether the data was textual or numeric. Focus was on correct parsing, custom comparison logic, and maintaining order where required.