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 DNA

Rating
-
Sold
-
Pages
2
Uploaded on
07-04-2023
Written in
2022/2023

These are my summary of algorithm and data structure

Institution
Course

Content preview

Algorithms and Data Structures Tutorial - Full Course for Beginners

This is a full-length course from treehouse. Free code camp is a non-profit making this course
freely available on our youtube channel. We will learn these concepts by using well-known
algorithms in this course we will also be writing code. This course is less about specific
algorithms and more about the tools you will need to evaluate algorithms. An algorithm is a set
of steps or instructions for completing a task. The field of computer science has identified
several that do the job well for a given task. Understanding algorithms is not just knowing that
an algorithm exists but understanding when to apply it requires properly understanding the
problem at hand. Learning about algorithms gives you a deeper understanding about complexity
and efficiency in programming. The course will focus on some of the tools and concepts you'll
need to be aware of before we can dive into the topic of algorithms if you're ready we 're going
to try and cultivate together as we work through our content.


John and britney took the same amount of turns to find the answer to the number they were
looking for. When the answer was three they both took the same number of turns this is
important when the number was larger but not much larger 10 in this case we start to see that
britney strategy did better she took four tries while john took 10. John and brittany took turns to
find the answer when the number was 5. When the answer was 100 it took him 20 times the
amount of tries to get that answer compared to britney. The speed at which the result was
obtained differed between john and brittany and britney in the game. The two strategies britney
and john used were examples of search more specifically these are search algorithms. The
strategy john took where he started at the beginning of the range and just counted one number
after the other is a type of search called linear search. linear search is a search algorithm and
we can use it in the real world for example i could tell you to walk into a bookstore and find me a
particular book using the linear search algorithm.


An algorithm definition must contain a specific set of instructions in a particular order. Each step
must not be a complex one and needs to be explicitly clear. The last guideline is that the
algorithm should actually complete and can not take an infinite amount of time. When using a
search algorithm the end result can actually be nothing which indicates that the value wasnot
found. The guidelines help us define what an algorithm is but also helps us verify that the
algorithm is correct executing the steps in an algorithm for a given input must result in the same
output every time. The same set of guidelines makes for good algorithmic thinking which is one
of the most important skills we want to cultivate when we encounter a problem before rushing
into thinking about solutions. Algorithm correctness is proved by mathematical induction which
is a form of reasoning used in mathematics to verify that a statement is correct. Algorithms are
used in the sequencing of dna and more efficient sequencing algorithms allow us to research
and understand diseases better and faster but let 's not get ahead of ourselves we 'll start
simple by evaluating john 's linear search algorithm in terms of its efficiency.

Written for

Course

Document information

Uploaded on
April 7, 2023
Number of pages
2
Written in
2022/2023
Type
SUMMARY

Subjects

$8.69
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
sarbottamkhatiwada

Get to know the seller

Seller avatar
sarbottamkhatiwada
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
3 year
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