Pergunta de entrevista da empresa Oracle

Implement a graph using collections.

Respostas da entrevista

Sigiloso

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

Sigiloso

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.