nenu_devudni Posted September 25, 2012 Report Posted September 25, 2012 Detail the steps of the Bubble sort algorithm applied to the following vector: [“celery”, “carrot”, “cabbage”, “tomato”] help me solve this .. !!
graham Posted September 25, 2012 Report Posted September 25, 2012 help me ante exact nee question enti ...bubble sort algo raada leka strings ki ela ana?
graham Posted September 25, 2012 Report Posted September 25, 2012 C# lo aithe CompareTo utility use chesukuni cheyachu. first , first string ni second ni compare cheyyi, increasing order lo unte ok, lekapothe swap cheyyi, next second and third next third and last ila oka iteration ayyaka, malli start with 2nd element..ila chesukuntu pothe it will be sorted. net lo chaala tutorials unnai chudu.. http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=5199&lngWId=2
andhrausa Posted September 25, 2012 Report Posted September 25, 2012 vatilni sort cheytaniki Algo ivala ikkada ?
SankaNaaku Posted September 25, 2012 Report Posted September 25, 2012 ivvala repu skool pillodu kuda cheptadu bubble sort heap sort.. binary tree.. hashing etc etc
charygaru Posted September 25, 2012 Report Posted September 25, 2012 [quote name='SaaliPurugu' timestamp='1348578641' post='1302536102'] ivvala repu skool pillodu kuda cheptadu bubble sort heap sort.. binary tree.. hashing etc etc [/quote] aithe ippudu ee thread evaranna school pillodiki chupinchali annamata ok. neeku raada mama ??
nenu_devudni Posted September 25, 2012 Author Report Posted September 25, 2012 [quote name='SaaliPurugu' timestamp='1348578641' post='1302536102'] ivvala repu skool pillodu kuda cheptadu bubble sort heap sort.. binary tree.. hashing etc etc [/quote] ipudu school pillodiki iste .. vadu school ayaka ista antadu anta time ledu .. neku teliste chepu .. naku bubble sort telusu kani .. vector data ki ela apply cheyalo telidu ..
nenu_devudni Posted September 25, 2012 Author Report Posted September 25, 2012 [quote name='SaaliPurugu' timestamp='1348578641' post='1302536102'] ivvala repu skool pillodu kuda cheptadu bubble sort heap sort.. binary tree.. hashing etc etc [/quote] ipudu school pillodiki iste .. vadu school ayaka ista antadu anta time ledu .. neku teliste chepu .. naku bubble sort telusu kani .. vector data ki ela apply cheyalo telidu ..
nenu_devudni Posted September 25, 2012 Author Report Posted September 25, 2012 [quote name='mickey' timestamp='1348570899' post='1302535951'] C# lo aithe CompareTo utility use chesukuni cheyachu. first , first string ni second ni compare cheyyi, increasing order lo unte ok, lekapothe swap cheyyi, next second and third next third and last ila oka iteration ayyaka, malli start with 2nd element..ila chesukuntu pothe it will be sorted. net lo chaala tutorials unnai chudu.. [url="http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=5199&lngWId=2"]http://www.planet-so...d=5199&lngWId=2[/url] [/quote] ya i knw the procedure but oka vector data ni ela swap cheyalo ..dani steps telivu ...
ChampakDas Posted September 25, 2012 Report Posted September 25, 2012 edhi simple vayya...vector lo add chesko strings ani... once you add all of them.. make a direct comparison like vector.Element(i+1) > vector.Element(i) false avuthey swap cheyi...katham ganthey 1
Tokkalodi Posted September 25, 2012 Report Posted September 25, 2012 assignments neevena porilakosam patlu padutunnava
nenu_devudni Posted September 25, 2012 Author Report Posted September 25, 2012 [quote name='Tokkalodi' timestamp='1348599941' post='1302538274'] assignments neevena porilakosam patlu padutunnava [/quote] nade avatledu ina porilu kosam enti chesedi ..antha ledu bhayya .. nakosam ee ..
Recommended Posts