Algorithms For Dummies



Download 7,18 Mb.
Pdf ko'rish
bet617/651
Sana15.07.2021
Hajmi7,18 Mb.
#120357
1   ...   613   614   615   616   617   618   619   620   ...   651
Bog'liq
Algorithms

 The Part of Tens

For algorithm purists, you can say that the algorithm has changed the world 

throughout the centuries, so nothing has really changed for thousands of years. 

The Babylonians used algorithms to perform factorization and find square roots 

as early as 1600 BC. Al-Khawarizmi described algorithms to solve both linear and 

quadratic equations around 820. This chapter focuses on computer-based algo-

rithms, but algorithms have been around for a long time.

Using Sort Routines

Without ordered data, most of the world would come to a stop. To use data, you 

must be able to find it. You can find hundreds of sort algorithms explained on sites 

such as 


https://betterexplained.com/articles/sorting-algorithms/

 and 


as part of this book (see Chapter 7).

However, the three most common sort routines are Mergesort, Quicksort, and 

Heapsort because of the superior speed they provide (see the time comparisons at 

http://www.cprogramming.com/tutorial/computersciencetheory/sortcomp.

html

).  The  sort  routine  that  works  best  for  your  application  depends  on  the 



following:


Download 7,18 Mb.

Do'stlaringiz bilan baham:
1   ...   613   614   615   616   617   618   619   620   ...   651




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish