Data Structures and
Algorithms
Melvin K. Cabatuan, Ph.D.
,“ I will, in fact, claim that the difference between a bad programmer and a good
one is whether he considers his code or his data structures more important.
Bad programmers worry about the code.
Good programmers worry about data structures and their relationships.”
- Linus Torvalds, creator of Linux OS
,What is a data structure?
A data structure is a way to store and organize data as a collection, including the
relationships and the operations that can be applied to the data.
No single data structure works well for all purposes, and thus, it is important to
know the strengths and limitations of several of them since different data
structures are suited for different problems.
Some common data structures include Arrays (Static and Dynamic), Linked List,
Stack, Queue, Tree, Graph, Heap, Hash Table
, What is an algorithm?
An algorithm is any well-defined computational procedure that takes some value,
or set of values, as input and produces some value, or set of values, as output, in
solving a particular problem or reach decisions.
Algorithms
Melvin K. Cabatuan, Ph.D.
,“ I will, in fact, claim that the difference between a bad programmer and a good
one is whether he considers his code or his data structures more important.
Bad programmers worry about the code.
Good programmers worry about data structures and their relationships.”
- Linus Torvalds, creator of Linux OS
,What is a data structure?
A data structure is a way to store and organize data as a collection, including the
relationships and the operations that can be applied to the data.
No single data structure works well for all purposes, and thus, it is important to
know the strengths and limitations of several of them since different data
structures are suited for different problems.
Some common data structures include Arrays (Static and Dynamic), Linked List,
Stack, Queue, Tree, Graph, Heap, Hash Table
, What is an algorithm?
An algorithm is any well-defined computational procedure that takes some value,
or set of values, as input and produces some value, or set of values, as output, in
solving a particular problem or reach decisions.