paint-brush
Algorithms for Beginners: Bubble Sort in JavaScriptby@Swordfish
1,045 reads
1,045 reads

Algorithms for Beginners: Bubble Sort in JavaScript

by Randy4mMay 27th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Algorithms for Beginners: Bubble Sort in JavaScript in JavaScript. Algorithm is this fun buzzword that makes something sound really complicated and cool. An “algorithm” literally is just a way of doing something; it’s just a process. There is no one “correct” way to do something, but there are ways that things can be optimized. Here is a resource on how to optimize for time complexity and space complexity. It's BigO² or O(n²) meaning it takes time. For a small snippet this is not really noticeable. However if you are professionally building something that calculation or logic could take minutes, even tens of minutes.

Company Mentioned

Mention Thumbnail
featured image - Algorithms for Beginners: Bubble Sort in JavaScript
Randy HackerNoon profile picture
Randy

Randy

@Swordfish

JS, React, Redux, Ruby, Rails, SQL, Python

About @Swordfish
LEARN MORE ABOUT @SWORDFISH'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Randy HackerNoon profile picture
Randy@Swordfish
JS, React, Redux, Ruby, Rails, SQL, Python

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Dandenney
Joyk
Aryan
Coffee-web
Prodsens
Learnrepo
Owlver
Owlver
Knowledia
Theteams