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??
2 odpowiedzi
+ 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!