what is a datastructure?
it’s a way to organize data to be used effectively
what is an algorithm?
it’s a step by step instructions to perform a task
what makes a good algorithm?
- efficiency
what are the types of data structures?
primitive : float , int , char
non primitive
what are the types of non primitive data structures?
Linear
Non Linear
what are the types of Linear DS?
Static
Dynamic
what are the types of Static DS?
Array
what are the types of Dynamic DS?
LS
Stacks
Queues
what are the types of non Linear DS?
Tree
Graph
what are the types of algorithms?
what is recursion?
a way of solving a problem by having a function calling itself
what are the properties of recursion?
what is the big O for multiple recursive calls?
O(branch ^ depth)
what are the properties of an array?
what are the steps of creating an array?