Open links in new tab
  1. Etymology

    Around 825 AD, Persian scientist and polymath Muḥammad ibn Mūsā al-Khwārizmī wrote kitāb al-ḥisāb al-hindī ("Book of Indian computation") and kitab al-jam' wa'l-tafriq al-ḥisāb al-hindī ("Addition and subtract… See more

    Definition

    One informal definition is "a set of rules that precisely defines a sequence of operations", which would include all computer programs (including programs that do not perform numeric calculations), and any pre… See more

    Algorithms | Computer science theory | Computing | Khan Academy

    We've partnered with Dartmouth college professors Tom Cormen and Devin Balkcom to teach introductory computer science algorithms, including searching, s…

    Khan Academy
  1. An algorithm is a well-defined sequence of steps or instructions designed to perform a specific task or solve a particular problem. In computer science, algorithms are fundamental as they form the basis of programming and problem-solving. They can be simple, like sorting a list of numbers, or complex, like training a machine learning model.

    Key Characteristics of Algorithms

    1. Clear and Unambiguous: Each step in an algorithm must be precisely defined and lead to only one interpretation.

    2. Well-Defined Inputs and Outputs: An algorithm should have clearly defined inputs and produce well-defined outputs.

    3. Finite: An algorithm must terminate after a finite number of steps.

    4. Feasible: The steps of an algorithm should be practical and executable with the available resources.

    5. Language Independent: An algorithm should be implementable in any programming language.

    Types of Algorithms

    Feedback
  2. What is an Algorithm | Introduction to Algorithms

    Dec 20, 2025 · Algorithm is a set of finite, well-defined steps or instructions designed to solve a problem or perform a computation. It can also be defined as …

  3. Computer science - Algorithms, Complexity, Programming | Britannica

    • An algorithm is a specific procedure for solving a well-defined computational problem. The developme…
      An accompanying notion is the design of a particular data structure that enables an algorithm to run efficiently. The importance of data structures stems from the fact that the main memory of a computer (where the data is stored) is linear, consisting of a sequence of memory cells that are serially numbere…
    • Although data items are stored consecutively in memory, they may be linked together by pointers (esse…
      Pointers also provide the ability to implement more complex data structures. A graph, for example, is a set of nodes (items) and links (known as edges) that connect pairs of items. Such a graph might represent a set of cities and the highways joining them, the layout of circuit elements and connecting w…
    See more on britannica.com
  4. Algorithms | Computer science theory | Computing | Khan Academy

    We've partnered with Dartmouth college professors Tom Cormen and Devin Balkcom to teach introductory computer science algorithms, including searching, sorting, recursion, and graph theory.

  5. Algorithms in Computer Science: A Complete Beginner’s …

    Sep 29, 2025 · Learn algorithms in computer science with simple explanations, real-life examples, and step-by-step clarity. Every time you scroll through social …

  6. People also ask
    Loading
    Unable to load answer
  7. What Is an Algorithm? | Definition & Examples - Scribbr

    Aug 9, 2023 · Learn what an algorithm is, how it works, and why it is important for computer science. See examples of algorithms in everyday life and in …

  8. What Is an Algorithm? Understanding the Logic Behind …

    Nov 5, 2025 · In computer science, algorithms are expressed in programming languages and implemented to perform automated tasks. They form the logic …

  9. What is an Algorithm? Complete Beginner’s Guide to …

    Sep 5, 2025 · Learn what an algorithm is with detailed examples, step-by-step explanations, and easy-to-understand visuals. Perfect guide for beginners …

  10. Introduction to Algorithms | Electrical Engineering and …

    This course is an introduction to mathematical modeling of computational problems, as well as common algorithms, algorithmic paradigms, and data …

  11. 3.2 Algorithm Design and Discovery - Introduction to …

    Although every real-world problem is unique, computer scientists can use a general set of principles to design solutions without needing to develop new algorithms …