DEV Community

loading...

Discussion on: Bubble Sort In JavaScript

Collapse
karataev profile image
Eugene Karataev

Two years ago on interview I was asked to write bubble sort on a paper. I guess it's the only sorting algorithm I can write without google help 😀

I'm a visual learner, so it's useful for me to visualize an algorihtm process. I created the bubble sort visualization to better grasp the concept.

bubble sort

You can fork and play with it here.

Collapse
hamzaerbay profile image
Hamza ERBAY

Thanks, Emma for the explanation.
Eugene, I m another visual learner too :) I want to put visualgo.net here. That's super helpful for understanding algorithms.

Collapse
karataev profile image
Eugene Karataev

Yeah, visualgo is a great resource to grasp algorithms by visualizing them step by step.

Collapse
emmabostian profile image
Emma Bostian ✨ Author

Horrible interview!

Forem Open with the Forem app