DEV Community

Discussion on: Do you think there is a language better suited for solving data structures and algorithms?

Collapse
 
r0f1 profile image
Florian Rohrer

Hi, judging from your description, I think you talk about two separate issues.

1) Learning the basics of computer science. That is, understanding what big O notation is, how data structures work (sets, lists, hashmaps, heaps, trees), and how some simple algorithms for sorting and searching work.

2) Learning a new programming language.

I think you should tackle these issues individually (in part, because at university, they are thought in different courses). For 1) I would recommend you read a book such as "Cormen - Introduction to Algorithms" and getting used to reading pseudocode. If you are not satisfied with pseudocode and want to see how some algorithms look implemented in a programming language, look at Rosetta Code.

For 2) you can use any online resource. You already mentioned some great ones. You can look at Codecademy too, which I found really helpful.