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

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

1/11/2017 7:10:40 AM

Gokul Kkr

2 Answers

New Answer

+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.

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!