Data Structure
Data Structure
Is a data organization , management and storage format that enable efficient access and
modification(insert , deletion , search)
What is algorithm?
Algorithm is a step by step procedure, which defines a set of instructions to be executed in
certain order to get the desired output.
every new element is inserted as 'top' element. That means every newly inserted element is
pointed by 'top'. Whenever we want to remove an element from the stack, simply remove the
node which is pointed by 'top' by moving 'top' to its previous node in the list.
in Dynamic data structure the size of the structure is not fixed and can be modified during the
operations performed on it. Dynamic data structures are designed to facilitate change of data
structures in the run time. Static data structures, such as arrays, have a fixed size and are
allocated at compile-time.
This search first compares the target value to the mid of the list. If it is not found, then it takes
decision on whether.
What is hashing?
Hashing is a technique or process of mapping keys, and values into the hash table by using a
hash function. It is done for faster access to elements. The efficiency of mapping depends on the
efficiency of the hash function used.
What is a graph?
A graph is a pictorial representation of a set of objects where some pairs of objects are
connected by links. The interconnected objects are represented by points termed as vertices,
and the links that connect the vertices are called edges.