Code examples of basic data structures and algorithms