Algorithms For Dummies


PART 1   Getting Started



Download 7,18 Mb.
Pdf ko'rish
bet104/651
Sana15.07.2021
Hajmi7,18 Mb.
#120357
1   ...   100   101   102   103   104   105   106   107   ...   651
Bog'liq
Algorithms

 

   


  PART 1 

 Getting Started

Many possible functions can result in worse results, but the choice of functions 

offered by the Big O notation that you can use is restricted because its purpose is 

to simplify complexity measurement by proposing a standard. Consequently, this 

section contains just the few functions that are part of the Big O notation. The fol-

lowing list describes them in growing order of complexity:



 

»

Constant complexity O(1): The same time, no matter how much input you 

provide. In the end, it is a constant number of operations, no matter how long 

the input data is. This level of complexity is quite rare in practice.

 

»

Logarithmic complexity O(log n): The number of operations grows at a 

slower rate than the input, making the algorithm less efficient with small 

inputs and more efficient with larger ones. A typical algorithm of this class is 

the binary search, as described in Chapter 7 on arranging and searching data.




Download 7,18 Mb.

Do'stlaringiz bilan baham:
1   ...   100   101   102   103   104   105   106   107   ...   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