Randomised Algorithms

Last updated

What is Randomised Algorithms?

Randomised algorithms are a type of algorithm that employs a degree of randomness as part of the logic of the algorithm. These algorithms use random numbers to make decisions, and thus, even for the same input, can produce different outcomes on different executions. The correctness of these algorithms are probabilistic and they are particularly useful when dealing with a large input space. There are two major types of randomised algorithms: Las Vegas algorithms, which always give the correct answer, but their running time is a random variable; and Monté Carlo algorithms, where the algorithm has a small probability of viability or accuracy.

Free resources to learn Randomised Algorithms

More in stage 14: Problem Solving Techniques

Randomised Algorithms: common questions

Can I learn Randomised Algorithms in Hindi?

This lesson is written in English. Once you sign in, open it in the interactive course and ask the AI tutor to explain Randomised Algorithms in Hindi or Hinglish. The tutor answers from this lesson’s own text, so it stays on the syllabus, and it runs on your own Google, OpenAI or Anthropic key.

Is this Randomised Algorithms tutorial for beginners?

It is lesson 93 of 107 in the free Data Structures & Algorithms roadmap, in stage 14, Problem Solving Techniques. If you are new to Data Structures & Algorithms, start from stage 1 and come back here in order; if you already know the earlier stages, this lesson stands on its own.

Still confused? Ask me