Algorithms For Dummies


Considering Algorithm Design



Download 7,18 Mb.
Pdf ko'rish
bet70/651
Sana15.07.2021
Hajmi7,18 Mb.
#120357
1   ...   66   67   68   69   70   71   72   73   ...   651
Bog'liq
Algorithms

  Considering Algorithm Design 

     23


IN THIS CHAPTER

 

» Considering how to solve a problem

 

» Using a divide-and-conquer approach 

to solving problems

 

» Understanding the greedy approach 

to solving problems

 

» Determining the costs of problem 

solutions

 

» Performing algorithm measurements

Considering Algorithm 

Design

A

s  stated  in  Chapter  1,  an  algorithm  consists  of  a  series  of  steps  used  to 

solve a problem. In most cases, input data provides the basis of solving the 

problem and sometimes offers constraints that any solution must consider 

before anyone will see the algorithm as being effective. The first section of this 

chapter helps you consider the problem solution (the solution to the problem you’re 

trying to solve). It helps you understand the need to create algorithms that are 

both flexible (in that they can handle a wide range of data inputs) and effective (in 

that they yield the desired output).

Some problems are quite complex. In fact, you look at them at first and may decide 

that they’re too complicated to solve. Feeling overwhelmed by a problem is com-

mon. The most common way to solve the issue is to divide the problem into smaller 

pieces, each of which is manageable on its own. The divide-and-conquer approach 

to problem solving, discussed in this chapter’s second section, originally referred to 

warfare  (see 

http://classroom.synonym.com/civilization-invented-divide- 

conquer-strategy-12746.html

 for a history of this approach). However, people 

use the same ideas to cut problems of all sorts down to size.

Chapter 


2


24


Download 7,18 Mb.

Do'stlaringiz bilan baham:
1   ...   66   67   68   69   70   71   72   73   ...   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