Pregunta de entrevista de Oracle

Implement a graph using collections.

Respuestas de entrevistas

Anónimo

17 de jul de 2018

I took hints from the Interviewer for this question as I had not practiced graph problems :( So, didn't proceed to the next step.

1

Anónimo

2 de ago de 2019

Node: {dataType value, List neighbors} or Map> -- this is a map from node to its neighbors i.e. adjacency list.