Data Structures:- A data structure is a particular way of organizing data in a computer so that it can be used effectively. For example, we can store a list of items having the same data-type using the array data structure. This page contains detailed tutorials on different data structures (DS) with topic-wise problems. Adavantages Of Data Structure:- Structured data makes it eaiser to access and manipulate the information as compared to row or unstructured data. A varity of operations can be performed on structured data. Related data can be stored together and in the required format. Better algorithms can be used on organized data which improve program efficiency. Need Of Data Structure:- Data structure are used in every program or software system to arrange the data. Data structure are essential ingredients of many efficient algorithms.It help in the management of huge amount of data such as a large intergraded collection of databases. Each data structure allows dat...
Algorithm Analysis Analysis of algorithm is the determination of the amount of time and space resources required to execute it . An Algorithm analysis is technique that is used to measure the performance of the algorithms. Characteristics Of Algorithm Input: An algorithm takes zero or more inputs. Output: An algorithm genearates one or more outputs. at least one output. Finiteness: Algorithm must be terminate after finite numbers of steps for all cases. Definiteness: Each step of an algorithm must be percisely define. Effectiveness: Each instruction must be sufficiently basic, then it can be done exactly and in finte time by a person using only paper and pencil. Running Time Analysis It is the processing time us size of the input. The input may be of different types based on problems. Common inputs are: Size of array. Number of element in a matrix. Polynomial degree. Numbers of bits in binary repersentation. Edges and vertices in a graph. Performance Of Analysis: Space Compl...