What is the importance of DISCRETE STRUCTURES from a programmer point of view
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you mean data structures such as trees, sets and more, the importance is the fact that:
They provide patterns for storing data
They serve as basis for algorithms to act on that data
As a theoretical structure in Discreet Math, they have provable properties which can be served in using/optimizing/choosing said data structures and algorithms
As examples, knowing structures from discreet math can help you correctly and reliably and quickly answer questions such as:
What is the best way to store a list of unique objects where your main purpose is deciding whether the object is in the list.
What is the fastest way to search for something in a list
How can I store a list of objects where the size of the list is not known and the data in the list must be retrieved in sorted order.
How do I go from address A to address B on a map in a car (think directed graphs of the streets)
Please review the linked Wikipedia article on Discreet Math – it provides both a great summary as well as a wealth of specific details and examples.
NOTE: This answer is specific to structures from Discreet math (trees/graphs/sets/etc…) – the importance of Discreet Math to programming overall has MUCH broader implications, since Discreet math also includes boolean logic (which is the basis for pretty much all of modern digital computing), probability theory, etc…