Common data structures and algorithms