Amazon interview question

Q: L S T M structure