Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Summary

Summary about algorithms

Rating
-
Sold
-
Pages
5
Uploaded on
01-08-2025
Written in
2025/2026

These notes are related to algorithms.

Institution
Course

Content preview

Introduction to Algorithms
What is an algorithm ?
The word Algorithm means ” A set of rules to be
followed in calculations or other problem-solving
operations ” Or ” A procedure for solving a
mathematical problem in a finite number of steps
frequently by recursive operations “. Therefore
Algorithm refers to a sequence of finite steps to solve a
particular problem.
Algorithms can be simple and complex depending on
what you want to achieve.


We need to pick the “BEST” algorithm
There can be multiple ways to solve a problem, but we
want to minimize some criteria in the procedure :
1. Time required to solve the problem (Time
complexity)
2. Extra space required to solve the problem (Space
complexity)


How Time complexity is measured
Consider a job :

, Given a square plot of land with side = ‘a’, we need to
buy fencing material to block animals from coming
in.Also, we need to buy fertilizers for the total land
area.




Amount of fencing required
For a square plot of side = ‘a’, the perimeter is = 4a.




Amount of fertilizer required
For a square plot of side = ‘a’, the area is =
a 2.

Written for

Institution
Course

Document information

Uploaded on
August 1, 2025
Number of pages
5
Written in
2025/2026
Type
SUMMARY

Subjects

$7.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
apoorvkrishna

Get to know the seller

Seller avatar
apoorvkrishna APOORV
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
9 months
Number of followers
0
Documents
1
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions