DEV Community

Cover image for Algorithms Every Programmer Should Know

Algorithms Every Programmer Should Know

Suraj Vishwakarma on February 15, 2021

Introduction Hello Guys, Today I am going to start a series named "Algorithm Every Programmer Should Know." In this series, we are going...
Collapse
 
devgancode profile image
Ganesh Patil

Well explain Suraj,
Currently learning Java DSA - shorturl.at/fEFIW
Thanks for sharing helpful resources!

Collapse
 
chidioguejiofor profile image
Chidiebere Ogujeiofor

Nice visualisations

Collapse
 
surajondev profile image
Suraj Vishwakarma

Yep, but the credit for visualisation is from different websites.

Collapse
 
chidioguejiofor profile image
Chidiebere Ogujeiofor

Noted. Where did you get em

Collapse
 
kaelscion profile image
kaelscion • Edited

This is a great post. I actually like that you didn't go into "here's how you do each algo in...". I know that sounds weird, but I find examples of how to perform each algo can get overwhelming and confusing, especially when the example language isn't one I speak. Like "Now I'll show you how to do this in Rust" and I'm like "C#, Python or maybe JS I would have understood. Unfortunately, these examples are relatively lost on me." Also, explaining the algo in "high-level" terms rather than demonstrating them gets me to think about how my I'd implement them in my day-to-day language, which is what this is all about: figuring things our for yourself. That, for me, is the only way it really sticks. Great job! And the "advantages/disadvantages" is a nice touch. Algorithmic thinking is such an essential skill, but also a very difficult one to truly master.

Collapse
 
sudonitin profile image
Nitin Sahu

I think you should've mentioned in a line about how DFS and BFS use stack and queue for searching the nodes

Collapse
 
kubukoz profile image
Jakub Kozłowski

Nice post! I think it would be really good if you presented the average / best / worst O-notation complexities of the algorithms as well :)

Collapse
 
mindninjax profile image
Rishabh Singh ⚡

Such a great list! I'll will love to learn all these algos ❤️
Thanks for putting everything together into an easy to digest format 🔥

Collapse
 
surajondev profile image
Suraj Vishwakarma

It's my pleasure that you like the post.

Collapse
 
frameworkz profile image
frameworkz

Very good, nice choice of visualistations

Collapse
 
seba2020 profile image
Sebastian Hondarza G

Nice post! :D

Collapse
 
surajondev profile image
Suraj Vishwakarma

Thank you

Collapse
 
jaswindersingh1903 profile image
Jaswinder Singh

Great refresher 👍

Collapse
 
zediwards profile image
ZediWards

Thanks for the great post!!!
Explanation structure is great. Didn't make me feel overwhelmed and finished the article knowing a lot more than when I started.

Collapse
 
levirs565 profile image
Levi Rizki Saputra

Great post!

Collapse
 
vijayvenkatanarayan profile image
VijayVenkataNarayan

good explanation with diagrams! Thanks

Collapse
 
surajondev profile image
Suraj Vishwakarma

Happy to help you

Collapse
 
alimobasheri profile image
MirAli Mobasheri

Great and useful descriptions of the concepts. Thanks!

Collapse
 
subham3112 profile image
subham3112

crisp explaination

Collapse
 
marciobbarbosa profile image
marcio bernardes

nice, thank you

Collapse
 
rtorsoli profile image
Riccardo Torsoli

Cool.

Thanks