Why we use datastructures in programming? | Sololearn: Learn to code for FREE!


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??

1/11/2017 7:10:40 AM

Gokul Kkr

2 Answers

New Answer


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.


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!