Pergunta de entrevista da empresa StoneX

How is memory managed in python , C++ and java