Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Write programs for Bubble Sort, Quick sort

Answers were Sorted based on User's Feedback



Write programs for Bubble Sort, Quick sort..

Answer / vinay gupta

write programs for insertion sort

Is This Answer Correct ?    4 Yes 3 No

Write programs for Bubble Sort, Quick sort..

Answer / nuyer

2
3
4
4
5
6
4
34
5
45
345
45


42
5
5

5

532
5
345
34
53
5
35
34
534
5
345
34
534
5
35
35
534
346
45
654
654
6
456
45
6
6
546
45
64
56
456
4
6

Is This Answer Correct ?    1 Yes 0 No

Write programs for Bubble Sort, Quick sort..

Answer / ganga

all the above programs are wrong!!!

heres a perfect one.. simple logic!

for(i=0;i<n-1;i++)
for(j=i+1;j<n;j++)
{
if(a[i]>a[j])
{
temp=a[i];
a[i]=a[j];
a[j]=temp;
}
}
// now print the elements n see

Is This Answer Correct ?    1 Yes 0 No

Write programs for Bubble Sort, Quick sort..

Answer / giftson d

@Babbu
Thn wat is t answer, Pls explain...

Is This Answer Correct ?    0 Yes 0 No

Write programs for Bubble Sort, Quick sort..

Answer / lukesh

parul

Is This Answer Correct ?    16 Yes 21 No

Post New Answer

More Data Structures Interview Questions

How can I study data structures and algorithms?

0 Answers  


What is array and its types with example?

0 Answers  


Can arraylist be resized?

0 Answers  


What are all the classes and interfaces that are available in the collections?

0 Answers  


How can I learn data structures?

0 Answers  


What is a tech stack?

0 Answers  


What is a B tree?

0 Answers   Akamai Technologies,


How arraylist increase its size?

0 Answers  


State the properties of a binary tree?

0 Answers  


What are the applications of priority queues?

0 Answers  


What are the different types of data structures?

0 Answers  


What are the properties of binary heap?

0 Answers  


Categories