Pergunta de entrevista da empresa Cadence Design Systems

In a class, there's an integer pointer. What will you do so that other developers cannot misuse of that pointer. Find if binary tree was balanced or not. Do it in optimized way Clone a graph