1

Almost on every interview I'm asked some questions implies data structure implementation. Is there really good reasons to implement own data structures in Java application?

wideString
  • 13
  • 2

4 Answers4

2

No, probably not in most cases.

But the interviewer wants to check you understand the theory behind them and how to use them correctly.

NimChimpsky
  • 46,453
  • 60
  • 198
  • 311
1

"Data Structures and algorithms" is an indispensable field in the area of computer programming. It's important you know some of the basic algorithms and data structures irrespective of the programming paradigm or the language.

Try practicing these using a procedural languages like C.

John Eipe
  • 10,922
  • 24
  • 72
  • 114
0

Probably it is far more useful to know WHEN to use a list, array, dictionary etc. Using the correct data structure influences not only performance but also readability and maintainability and code clearity.

Creating your own is seldom necessary.

Michel Keijzers
  • 15,025
  • 28
  • 93
  • 119
0

Its good to know - the supplied collection classes span the most use cases. Its more about basic/advanced CS knowledge and specific application in a language. Knowing the details is essential to choose the right data structures, evaluate performance , thread safety etc.

hburde
  • 1,441
  • 11
  • 6