Best language for solving a graph-oriented problem

I'm having a graph-oriented problem requested by my college, where I mainly onlye need to apply a DFS (Depth-First Search) on a graph and find the best possible route to a certain point.

Our teacher recommended us Java, but I was wondering what's possibly the best language for solving this problem


  • I think C# seems to be a good language. There is also Java. But these days people are moving away from Java to the more better language such as Python and C#. In terms of data structure, you'd find that Java is lot better. But C# is what can solve your problem too.
Sign In or Register to comment.