Data structures and algorithms implementations