Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
What is an Algorithm ? | Data Structures and Algorithms
Play lesson

Data Structures & Algorithms in C++ – Full Course (2025 Edition | Beginner to Advanced) - What is an Algorithm ? | Data Structures and Algorithms

5.0 (0)
16 learners

What you'll learn

This course includes

  • 55.5 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

In this tutorial we will understand what is algorithm in computer science. The term algorithm is used many times in computer science especially in programming and data structures. Dictionary Definition : A process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer. Formal Definition : An algorithm is a finite set of instructions that are carried in a specific order to perform specific task. Algorithms typically have the following characteristics – 1. Inputs : 0 or more input values. 2. Outputs : 1 or more than 1 output. 3. Unambiguity : clear and simple instructions. 4. Finiteness : Limited number of instructions. 5. Effectiveness : Each instruction has an impact on the overall process. Here is an example of an Algorithm in Programming - Write an algorithm to add two numbers entered by user. – Step 1: Start Step 2: Declare variables num1, num2 and sum. Step 3: Read values num1 and num2. Step 4: Add num1 and num2 and assign the result to sum.(sum←num1+num2 ) Step 5: Display sum Step 6: Stop --------------------------------------------------------------------------------------------- Full DSA playlist - https://www.youtube.com/watch?v=XCyuHSJS7XE&list=PLIY8eNdw5tW_zX3OCzX7NJ8bL1p6pWfgG Theory & Article on our official website - https://simplesnippets.tech/what-is-data-structures-what-is-an-algorithm-why-do-we-need-data-structures-algorithms/ --------------------------------------------------------------------------------------------- Support Simple Snippets by Donations - Google Pay UPI ID - tanmaysakpal11@okicici PayPal - paypal.me/tanmaysakpal11 --------------------------------------------------------------------------------------------- Simple Snippets Official Website - http://simplesnippets.tech/ Simple Snippets on Facebook - https://www.facebook.com/simplesnippets/ Simple Snippets on Instagram - https://www.instagram.com/simplesnippets/ Simple Snippets on Twitter - https://twitter.com/simplesnippet Simple Snippets Google Plus Page - https://plus.google.com/+SimpleSnippets Simple Snippets email ID - [email protected] For More Technology News, Latest Updates and Blog articles visit our Official Website - http://simplesnippets.tech/ #algorithms #datastructures #algorithm #dsa

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere