Autodesk interview question

How are graphs stored in memory?