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 DSA (Data Sturctures And Algorithms)

Rating
-
Sold
-
Pages
1
Uploaded on
01-05-2023
Written in
2022/2023

DSA (Data Sturctures And Algorithms)

Institution
Course

Content preview

Best Case,Worst Case and Average Case Analysis of
Algorithm


• Best Case, Worst Case and Average Case Analysis of an Algorithm
• To define an algorithm, To define the events in the life of an algorithm ,
We have , Best Case Worst Case and Expected Case. And along with that,
I ‘ve packed one more thing into this notes: The definition of Log. If you
read this notes till the end , Then you will find out what this ‘Log ‘ really
is. 1. . . 5. . . 7. . . 9 and 24 are the numbers in it; They ‘re in ascending
order , You can see for yourself. If you know even a bit of maths, You ‘ll
know that it is in an ascending order. Now what I say is that I ‘ll give a
number : ‘A’ And I ‘d like you to tell me If this number exists within the
array , or not. Suppose the value of A is 8. So what will be your answer ?
Yes. Meaning 1. If A is. . . Sorry, your answer will be no , because it isn’t
there. If the value is 9, What will the answer be ? Your answer will Algo 1
is a simple person. It doesn't have much of a brain. It is comparing it with
all the numbers. Is this the best way to do this work ? Obviously not.
Because Algo. 1 is lucky , He will get A=1. It will tell us in the first
comparison itself. In one comparison only.

Written for

Course

Document information

Uploaded on
May 1, 2023
Number of pages
1
Written in
2022/2023
Type
SUMMARY

Subjects

$11.29
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
nandinishah

Get to know the seller

Seller avatar
nandinishah Sndt University
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
3 year
Number of followers
0
Documents
2
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