I am trying to work on some problems and algorithms. I know C++ but a friend told me that it would be better if done with Python.As it would be much faster to develop and less time is spent in programming details which does not actually earn anything solution wise.
EDIT 2: I plan to use python-graph lib from Google-codes, Please provide example codes if you have used it.
EDIT 1: faster  - less time && less work to code the solution
Thank you all for your help !
I would go for python. And if you really need the performance, then you can always write C/C++ extensions and use them in python.
which is a better language (C++ or Python) for  complex problem solving exercises (ex. Graphs)?