Pergunta de entrevista da empresa Amazon

Q. Write a code to delete a node in graph