Source code online books for professionals by professionals



Download 4,67 Mb.
Pdf ko'rish
bet76/266
Sana31.12.2021
Hajmi4,67 Mb.
#213682
1   ...   72   73   74   75   76   77   78   79   ...   266
Bog'liq
2 5296731884800181221

Figure 5-5.  A tree, drawn as a maze and as a more conventional graph diagram, superimposed on the maze
The left-hand rule is designed to be executed by an individual actually walking a maze, using only local 
information. To get a firm grip on what is really going on, we could drop this perspective and formulate the same 
strategy recursively.
7
 Once you’re familiar with recursive thinking, such formulations can make it easier to see that an 
algorithm is correct, and this is one of the easiest recursive algorithms out there. For a basic implementation (which 
assumes one of our standard graph representations for the tree), see Listing 5-3.

Download 4,67 Mb.

Do'stlaringiz bilan baham:
1   ...   72   73   74   75   76   77   78   79   ...   266




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