@HoeflerCo Yes! This is the actual core of compsci. You're actually asking about algorithms, which are expressly about creating and manipulating structured data. People will trip over themselves to recommend https://mitpress.mit.edu/books/introduction-algorithms but I would suggest ALGORITHMICS and THE TURING OMNIBUS.