Domanda di colloquio di Autodesk

What would you use as a data structure instead How to make these methods and variables thread-safe Rewrite the code in a more modern way