+ 3

Where i'll need Data Structures in programming?

25th Oct 2021, 9:07 PM
‎Abdul Jalil
‎Abdul Jalil - avatar
4 Respostas
+ 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.
26th Oct 2021, 1:04 PM
Arun Jamson
Arun Jamson - avatar
+ 4
I believe You need DS everywhere... But C lang gives more importance.
25th Oct 2021, 11:56 PM
GURURAJ KL
GURURAJ KL - avatar
+ 1
Everywhere.
25th Oct 2021, 9:10 PM
Simon Sauter
Simon Sauter - avatar
+ 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.
25th Oct 2021, 10:25 PM
zemiak