Pošljite SMS: Algorithms and data structures