+ 3
Where i'll need Data Structures in programming?
4 ответов
+ 4
Data structures are like hands for algorithms to make recipe. Using combination of data structure and algorithms, we can improve performance of program drastically. For example, you are using any searching algorithm like binary search, then set data structure would be perfect rather than array. The reason is, set is much better for checking whether element is present in specified place or not. This is actually not a quite good example but it can tell you the actual need of data structure in algorithms.
+ 4
I believe You need DS everywhere...
But C lang gives more importance.
+ 1
Everywhere.
+ 1
an appropriate structure will usually improve the performance of the program. For smaller data, a simpler structure is enough. Some tasks need a specific structure to be able to be solved at all.