Question d’entretien chez Oracle

Implement a graph using collections.

Réponses aux questions d'entretien

Utilisateur anonyme

17 juil. 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

Utilisateur anonyme

2 août 2019

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