Skip to main content

Algorithms

Learn Algorithms (Programming Concepts, Programming Fundamentals) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

What is an Algorithm? An algorithm is a precise, step-by-step set of instructions for solving a problem or completing a task - like a recipe for a computer. Every program you write, no matter how simple, follows some algorithm. A good algorithm is: • Well-defined - each step is unambiguous. • Finite - it eventually terminates. • Effective - each step can actually be carried out.

More lessons in Programming Concepts