Introduction To Algorithms - Abdul Rehman
Introduction To Algorithms - Abdul Rehman
An algorithm is a set of rules or instructions needed to be followed step by step to accomplish a task. A task could be a simple process like adding
or multiplying two numbers or any complex process like extracting text from images.
Table of content
1. Algorithm:
2. Analysis of Algorithms:
Algorithm:
Analysis of algorithms is the study of computer program performance and resource usage. Following things are considered to be very important to
design the Algorithm.
User-friendliness
The modularity of the program
Programmer’s time
Correctness of the program
Security
Maintainability
Robustness
Functionality
Reliability
Simplicity
Scalability
Extensibility
Searching an element
Sorting n numbers
Finding maximum and minimum elements from a given list
Single source shortest path
Sum of n numbers
Travelling Salesman problem
All pairs shortest path,
Minimum spanning tree, etc.
Maximum(A, n)
Max = A[0];
for (i = 1 to n −1)
return Max;
Candidates can also practice 110+ Mock tests for exams like GATE, ISRO, DRDO, BARC, and NIELIT, etc. with BYJU’S Exam Prep Test Series;
check the following link: