Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to be good in Data Structures and Analysis?

I want to be good in Data Structures and Analysis esp. in Java. I often find myself very weak. What should I do to be good in it? Any good mental exercises?

like image 227
ashokgelal Avatar asked Oct 31 '08 20:10

ashokgelal


People also ask

How long does it take to get good at data structures?

Data Structures and Algorithms can be learned in approximately 6 – 12 months with quality resources and guidance, depending on the individual's learning capacity for this field and other influencing factors.

Can I teach myself data structures?

Data structures are the foundation of any computer science curriculum, which means you can learn data structures by yourself through online data structure and algorithm courses or coding bootcamps .


2 Answers

An excellent book on complexity analysis, including the properties of popular and not-so-popular data structures, is Introduction to Algorithms, Second Edition, also referred to as CLRS. It's widely considered to be the bible of algorithms and their analysis.

For something more Java-centric, my undergraduate intro Java course used this book, and I found it to be adequate.

For mental exercises, you might familiarize yourself through practice. Try Project Euler, TopCoder, or google "acm practice problem". This is perhaps the thing that will give you the most tangible benefits in everyday coding. Most all of these will accept and evaluate Java (and C/C++) solutions, so you're all set on the language front.

like image 102
Matt J Avatar answered Oct 06 '22 00:10

Matt J


For the analysis of the data structures, you need to study discrete mathematics (combinatorics) and statistics.

like image 33
florin Avatar answered Oct 05 '22 23:10

florin