MUO

Algorithms

Readers like you help support MUO. When you make a purchase using links on our site, we may earn an affiliate commission. Read More.

latest

Go's blue gopher mascot superimposed in front of a window, through which a mountainous landscape is visible.
A Guide to the Sliding Window Algortihm and How to Implement It in Go

This clever algorithm can speed up your programs and inspire your work with arrays.

By 
Graph on paper with pens and a ruler
How to Implement the Graph Data Structure in Golang

Graphs are one of the most essential data structures that you must know as a programmer. Learn how to implement it in Golang.

By 
Black and silver laptop computer
How to Traverse a Binary Search Tree

There's more than one way to visit all the nodes in a BST.

By 
Spotify playing on a flatscreen TV
How Spotify's Shuffle Feature Really Works

We all use it, but do you really know how Spotify's shuffle button really works? Keep reading to find out.

By 
Laptop displaying YouTube homepage
What Determines What YouTube Displays on Your Feed?

Ever wonder how YouTube decides what to display on your feed? The secret lies in the algorithm and how it learns about what you like to watch.

By 
Black flat screen computer monitor
How to Choose the Right Data Structure for Your Applications

Choosing the right data structure can make your program more efficient. Here's a guide to help you make the right choice.

By 
A black and green image depicting machine learning themes
The 7 Must-Know Deep Learning Algorithms

There's a lot to learn about deep learning; start by understanding these fundamental algorithms.

By 
Phone on top of a thick book, both surrounded by a large metal chain
How to Hash and Verify a Password in Node.js With bcrypt

If you’re working with users’ passwords, you owe it to them to do so securely. The bcrypt library takes the pain out of this process.

By 
Code Running On a Laptop
4 Must-Know Machine Learning Algorithms

Machine learning can be an abstract concept, so get to grips with it by exploring these different algorithms.

By 
C Programming Console
How to Implement Binary Search Using Iterative Method

Binary Search algorithm follows the divide-and-conquer paradigm. Learn how to search elements in a sorted array using the space efficient method.

By 
Graph on paper with pens and a ruler
A Guide to the Graph Data Structure

The graph is a versatile data structure, with many variants. You can use it to solve lots of problems, not least those posed in interview tasks.

By 
Person using Apple Music on iPhone
How to Like and Dislike Songs on Apple Music (And Why You Should)

If you want to improve your experience on Apple Music, you should let the app know the songs you like (and those you don't). This is how you do it.

By 
Google Drive public search parameters
3 Ways Google Is Improving Its Search Results

So that you get as accurate information as possible.

By 
A grid of mobile app icons showing Instagram most prominently
Why Some People Want to "Make Instagram Instagram Again"

If you are noticing changes in how Instagram displays the content, you aren't alone.

By 
Student learning to program Java
Learn How to Use the Java HashMap Data Structure

HashMap is one of the most efficient data structures. Store your key-value pairs data using the Java HashMap data structure.

By 
person connecting to remote servers using SSH
Everything You Need to Know About the Twofish Encryption Algorithm

Many believe Twofish is more secure than AES, the most popular encryption algorithm in the world.

By 
Netflix home page on TV
How Netflix Recommendations Work

Have you ever wondered how Netflix knows what you want to watch even before you do? It's all thanks to how its recommendation system works.

By 
disable algorithmic feeds
How to Disable Algorithmic Feeds on Twitter, Instagram, and Facebook

Algorithmic feeds serve mostly social networks. Here's how to change to chronological feeds on major social platforms.

By 
common-encryption-types
5 Common Encryption Types and Why You Shouldn't Make Your Own

Is it a good idea roll your own encryption algorithm? Ever wonder what types of encryption are the most common? Let's find out.

By 
a hand holding a phone, user browsing Instagram
What Is the Best Time to Post on Instagram?

There's no one-size-fits all approach to social media, but there are some trends for the best time to post on Instagram.

By 
See more articles +