Before learning to solve a 3×3 Rubik’s Cube, you need to know how to use Cube Notation. This is one of the most important, if not THE most important skill in solving a Rubik’s Cube. Without it, you wouldn’t be able to understand how to use algorithms, or how to move the cube. A lot […]

# Tag: algorithms

## First Fit algorithm in Memory Management | GeeksforGeeks

Hello friends.welcome to GeeksforGeeks. Today we are going to learn first fit algorithm for memory management. What is first fit.In the first fit, partition is allocated which is first sufficient from the top of Main Memory. Given block sizes and process size we need to find which block is assigned to which process under first […]

## Get Level of a node in a Binary Tree | GeeksforGeeks

Hello friends! And, welcome to another tutorial on GeeksforGeeks. In this video we are going to understand the program which helps us in getting the level of a node in a binary tree. First us see an example. In this example, if input key is 3, then function should return 1 as node 3 is […]

## Updated: Depth First Search Based Topological Sort

This is Topological Sort, using Depth First Search. It’s the third video in a playlist, following an introduction to topological sorting, and a different, very intuitive algorithm called Kahn’s Algorithm. Before this video, you should watch those two videos, and also the video on depth first search, including the stuff on discovery and finishing times, […]

## Updated: Kahn’s Algorithm for Topological Sorting

This video covers Kahn’s Algorithm for topological sorting. No. Still no. Really? I don’t know if my students know who that is, but they should. Those weren’t spelled right. Before watching this video, you should watch the introduction, especially if you don’t know what topological order is. If you just want the clean, final, linear […]

## Algorithms Revised

Welcome! In this presentation we’re going to take a first look at the big idea of algorithms. Let’s begin with an analogy to something you’re probably familiar with. An algorithm is like a recipe for example here’s my recipe for toss salad. First step is to mix together vegetables of your choice, then add two […]

## Kosaraju’s Algorithm for Strongly Connected Components

This video covers strongly connected components in directed graphs. You should already understand graph basics including depth first search, as well as BOTH topological sorting algorithms. After introducing strongly connected components, I will try to show some intuition of where a linear time algorithm comes from and explain why it works, all with a running […]

## Number Theory – Tutorial 16 – BigMod Algorithm Concept

today we’ll talk about BigMod Algorithm concept BigMod Algorithm why we use BigMod Algorithm ? if we say 5 mod 3 the answer will be 2 so can find it easily if we want to calculate 5^10000 mod 3 we can’t find it easily as random for that we need BigMod algorithm now we’ll see […]