0

Why we use datastructures in programming?

Im learning linked list, stacks.. in c language but it makes me too much worry about lengthy codes. I Past I learned python what are the datastructures in it??

11th Jan 2017, 7:10 AM
Gokul Kkr
Gokul Kkr - avatar
2 Réponses
+ 1
Ultimately the logic exists to handle data, process data and take decisions. The build in data structures like List, Set, Dictionary and Tuple allow programmer to efficiently handle data. More ever the popularity of language is based on its capability/ease to handle data thru built-in data structures.
11th Jan 2017, 9:19 AM
sharper_than_learning_curve
0
the main purpose of using data structures is optimising the execution time! there is a lot of standard libraries in c/c++ data structures , like binary search trees in library "set" these libraries optimum the length of codes a lot!
11th Jan 2017, 7:30 AM
kerpoo
kerpoo - avatar