DATA STRUCTURES AND ALGORITHIMS QUESTIONS AND ANSWERS
6 views 0 purchase
Course
DATA STRUCTURES AND ALGORITHIMS
Institution
DATA STRUCTURES AND ALGORITHIMS
DATA STRUCTURES AND ALGORITHIMS
Examples of Linear and Non-Linear Types - Answer- Linear: Array, List, Stack, Que
Non-Linear: Tree, Graph
Considerations for choosing a Data Structure (5) - Answer- 1. Size of data
2. Speed and manner of data use
3. Data dynamics (how much/frequency of editi...
DATA STRUCTURES AND
ALGORITHIMS
Examples of Linear and Non-Linear Types - Answer- Linear: Array, List, Stack, Que
Non-Linear: Tree, Graph
Considerations for choosing a Data Structure (5) - Answer- 1. Size of data
2. Speed and manner of data use
3. Data dynamics (how much/frequency of editing/changing)
4. Size of required storage
5. Fetch time of info from data structures
Name 6 Common Data structures - Answer- (linear)
1. Lists
2. Arrays
3. Records
4. Trees
5. Tables
6. Graphs
What is a data structure? - Answer- The scheme of organizing related information
Used to store data in an organized fashion
Describe the "Divide and Conquer" strategy/algorithm for manipulating data -
Answer- 1. Divide problem into sub-problems
2. Find solution to each sub-problem
3. Merge sub-solutions into final solution
What is an algorithm? - Answer- A step by step procedure, which defines a set of
instructions to be executed in certain order to get the desired output.
Important Algorithm Categories/Functions (5) - Answer- 1. Search − Algorithm to
search an item in a datastructure.
2. Sort − Algorithm to sort items in certain order
3. Insert − Algorithm to insert item in a datastructure
4. Update − Algorithm to update an existing item in a data structure
5. Delete − Algorithm to delete an existing item from a data structure
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Freshy. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $10.49. You're not tied to anything after your purchase.