Pergunta de entrevista da empresa 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