Computer Science Fundamentals
Computer Science Fundamentals
output.
Data structures are the process of sorting and storing data efficiently in memory.
Algorithm is the process of finding the best way to instruct the data to do what it
needs to, in the best way possible by setting up a sequence of
accurate instructions.
A decision tree is a sequence of yes/no questions that help the computer decide
what to output.
Repetition is a powerful tool in computer science that lets you write programs that
can make use of limited space.
========================
DATA STRUCTURES for C
=========================
For hash table operations, you may use uthash. "uthash.h" is included by default.
Below are some examples:
struct hash_entry {
int id; /* we'll use this field as the key */
char name[10];
UT_hash_handle hh; /* makes this structure hashable */
};