DEV Community

Cover image for Data Structures And Algorithms For Not So 'Algorithmic' Languages 1: Introduction
Patrick Obafemi
Patrick Obafemi

Posted on • Updated on

Data Structures And Algorithms For Not So 'Algorithmic' Languages 1: Introduction

Okay so before you say "Not another post about data structures!" stay with me. So i might have to be cliche and say, the importance can never be overemphasized. Algorithms basically controls the world. Okay so not in the way the illuminati does(if you believe in conspiracy theories!) but basically in a "make things run smoothly" manner. Every piece of software out there are working because someone very smart wrote a very efficient algorithm. And contrary to beliefs, it's not that hard to write algorithms. And algorithms can make you lots of money. Yup you heard that right!
Image Of Money

So this post and other subsequent post would be to introduce you to the world of data structures and algorithms, but we will be writing looking at them in languages that you'd not normally write algorithms in. I mean languages like java, c++, c# and other big boys are the go to languages for data structures and algorithms courses as they have some of the datastructures we would be looking at out of the box. So people who actually write in the so called low level languages sometimes feel left out. As a PHP and dart developer i feel that way sometimes.
sad

So this thread will be for these left out languages. Even though the concepts of data structures and algorithms are the same across all languages, seeing a piece of code in a language you are familiar has this level of peace it gives. The way it will work is any algorithm we are going to look at will first be explained, then we will write the algorithm in php, dart, python and javascript. Also we will look at the big O notation of these algorithms too. Note that these algorithms are usually questions gotten from leetcode, hackerrank and so on.

So sit back, relax and stay tuned. I will try so put out posts regularly. As we all know every developer is busy so indulge me if you can. Also no one is an island of knowledge so if i miss something kindly point me to it in the comments. See you soon!

Top comments (1)

Collapse
 
webdevken profile image
Web Dev Ken

Am very excited about the algorithms in JavaScript!