Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more ➡
Standard view
Full view
of .
×
P. 1
BubbleSort Algorithm

# BubbleSort Algorithm

Ratings: (0)|Views: 354|Likes:

### Availability:

See More
See less

11/09/2012

pdf

Akh~ Mohew| * ^7 UO _DB 3<Gugg`o^jw bowuskikh bojeo sohduwukh |khd owuk ekh nuius gkh|ki elduhkikh mlhddk ~kk lhl( Bojeo lhlbohdduhkikh sobgkhelhdkh khdik"khdik ek`kb dudu~ sow o`oboh( Bojeo lhl nuius ofoilf uhui aub`km ekk |khd~oelil( Ikwohk kilflk~ bobgkhelhdikh lhl el`kiuikh mlhddk lks"lks o`oboh bohdk`kblh|k ekh owuwu ek`kb uwukh|khd gohkw( ^omlhddk bobkikh tkiu ekh ijbsuk~l |khd gkh|ki( _hui lu, bojeo lhl leki njnji uhui ekk |khdgo~kw( Uksl bojeo lhl bowuskikh bojeo ek~kw |khd tkalg eliokmul ekh elskmkbl uhui bobso`kakwl bojeo |khd`oglm kevkhno( Gowliu lhl kikh elao`k~ikh gkdklbkhk `jdlik ekwl Gugg`o^jw gowak`kh(Bl~k`ikh kek ~ogukm kwwk| ~osowl lhl1
K 2 Y5,7,6,=,?,4,4,>,7,=,5,?R
Sowkbk, ilk bobgowlikh lheoi~ uhui lks o`oboh ek`kb kwwk| ow~ogu( Gl`k o`oboh sowkbk ilk gowl lheoi~ ; bkiklheoi~ owkimlw kikh bohakel lheoi~ ;7( Bojeo lhl kikh bobgkhelhdikh o`oboh sowkbk eohdkh o`oboh gowliuh|keohdkh akwki ~ogo~kw ; uhl, njhjm kek`km o`oboh lheoi~ ; eohdkh lheoi~ 7( Gl`k lheoi~ 7 `oglm ionl` ekwl lheoi~ ;,bkik o`oboh el lheoi~ 7 kikh el
~tks
kku el sowuikwikh eohdkh lheoi~ ;( ^omlhddk dudu~kh ow~ogu kikh gowugkmeohdkh o`oboh lheoi~ ; 2 7 ekh o`oboh lheoi~ 7 2 5( @k`u o`oboh lheoi~ 7 kikh elgkhelhdikh eohdkh o`oboh lheoi~ >,ekh owh|kk lheoi~ > `oglm go~kw ekwl lheoi~ 7( Eohdkh eoblilkh o`oboh el lheoi~ 7 ekh lheoi~ >
uleki sow`
elsowuikwikh( Eoblilkh`km mk` lhl owu~ gow`khd~uhd mlhddk elnkskl o`oboh owkimlw(
@k` ioulik bohnkskl o`oboh uowkimlw, kskikm swj~o~ lhl gowmohul godlu ~kak::::
j… ohu leki( Ikwohk gl`k swj~o~ ow~ogu gow`khd~uhd, bkik leki kek akblhkh gkmtk mk~l` sohduwukh o`km gohkw(_hui lu, gugg`o ~jw kikh bohdu`khd iobgk`l sobgkhelhdkh lks"lks o`oboh mlhddk mkgl~( Uksl sow`u ellhdk, gkmtksobgkhelhdkh gowliuh|k mkh|k ~kbskl o`oboh io ;;( Lu kwlh|k ~olks sowu`khdkh, mkh|k ~kbskl -gkh|ki khdik";ekh elhkbl~( Kwlh|k elhkbl~ kek`km mlhddk |khd elgkhelhdikh hkhlh|k lhddk` 7 o`oboh ~kak |kihl o`oboh lheoi~ ;ekh lheoi~ 7(
Nkwk sobwjdwkbkh(
Nkwk sobwjdwkbkh bojeo Gugg`o^jw ~khdk buekm( Ilk mkh|k sow`u bo`kiuikh sobgkelhdkh ekh sohuiuwkh `jik~lo`oboh( Sow`u ~k|k kbgkmikh, kek |khd sohlhd iolik bobswjdwkb bojeo lhl( Kekh|k vkwlkgo` UOBS |khd kikhkhek obuikh el swjdwkb |khd ~kbk |khd el`kiuikh j`om jwkhd `klh( Vkwlkgo` lhl duhkh|k ~ogkdkl soh|lbskhkh~obohkwk
o`oboh ~kku lhl
( _hui `oglm ao`k~, sowmklikh `jdlik gowliu lhl1
"
Sowkbk gkhelhdikh o`oboh ~kk lhl eohdkh o`oboh gowliuh|k(
Lf }-l 8 }-l);(
"
Gl`k o`oboh ~kk lhl `oglm go~kw ekwl o`oboh gowliuh|k bkik ~lbskh o`oboh ~kk lhl ek`kb vkwlkgo` UOBS( Gl`k`oglm ionl` bkik swj~o~ lhl kikh el `otkikh eohdkh ~ohelwlh|k j`om
njbsl`ow
(
uobs2}-l
"
@k`u sowuikwikh sj~l~l bowoik, o`oboh ~kk lhl eldkhlikh j`om o`oboh |khd gowliuh|k(
}-l2}-l);
"
@k`u o`oboh gowliuh|k ell~l j`om o`oboh |khd kek ek`kb vkwlkgo` UOBS(
}-l);2uobs
"
Mk` lhl kikh uow~ gow`khd~hd mlhddk mkh|k uow~l~k ek o`oboh |kihl o`oboh sowukbk ekh ioek |khd mkw~elgkhelhdikh( _hui lu dhkikh`km ~|huk} gowliu1i2`ohdum-}9ytwluo |jw ggg`o~jwu njeo mowori2i";9Tml`o i827ohe
Gugg`o^jw K`djwlmb
Umuw~ek|, Kswl` 34, 73;;41>? KB

Njhujm Swjdwkb Bku`kg Skdo ;

## Activity (1)

### Showing

AllMost RecentReviewsAll NotesLikes