SMS dit: Data structures and algorithms :