Kinds of Notation
Polish notation : Polish notation refers to the notation in which the operator symbol is placed before It’s two operands. Revers polish ...
What is Binary Search Algorithm?
Binary Search Algorithm Algorithm: (Binary Search) BINARY (DATA, LB, UB, ITEM, LOC) Here DATA is a sorted array with lower bound LB...
What is Linear Search Algorithm?
Algorithm: LINEAR (DATA, N, ITEM, LOC) Here DATA is an array with N elements ITEM is a given item of information. The algorithm finds t...
Let array A: 90, 75, 42, 82, 10. Apply bubble sort algorithm to sort the array.
Solve: Pass 1 : 90 75 42 82 10 75 90 42 85 10 75 42 90 82 10 75 42 82 90 10 75 42 82 10 90 Pass 2: 7...
What is Bubble Sort Algorithm?
Bubble Sort Algorithm: Bubble sort is an algorithm which is used to sort N elements that are given in a memory. Bubble sort compares al...
Properties of Algorithm
Every algorithm must satisfy some properties- 1. Input: There should be 1 or more input supplied externally to the algorithm. ...
What is algorithm?
Algorithm: An algorithm is a finite set of instructions or logics, written in order to accomplish a certain predefined task. It is ...
What is Basic Types of Data Structure?
Data Structure is a way of collecting and organizing data in such a way that we can perform operations on these in an effective way. Basi...
What is Data Structure?
Data Structure The logical or mathematical model of a particular organization is called data structure. Some Types of Data Structu...