Ayush7-BIT / turbo-robot

"A collection of essential coding algorithms and popular code solutions. Optimized for interviews and competitive programming, covering a wide range of topics from sorting to dynamic programming.”
12 stars 172 forks source link

Add code for Bubble Sort #47

Open sameersuman573 opened 1 week ago

sameersuman573 commented 1 week ago

We sort the array using multiple passes. After the first pass, the maximum element goes to end (its correct position). Same way, after second pass, the second largest element goes to second last position and so on.

monurajputrko commented 1 week ago

Hey @Ayush7-BIT I think i can do this. Can you assign this to me?

Mustafa1765 commented 1 week ago

Hey @Ayush7-BIT I think i can do this. Can you assign this to me? i will write my own code for it