Member-only story

YouTube video review: Algorithms and Data Structures Tutorial

Crystal X
6 min readDec 23, 2023

--

One subject that persons studying computer and data science must learn is algorithms and data structures. I personally never took such a course when I undertook my undergraduate studies, so I thought that now is just as good a time and any to study this area of computer science.

An algorithm is a set of steps a program must take to finish a task.

The idea is to break a seemingly insurmountable problem into distinct components and write an algorithm for each distinct component.

When writing an algorithm, the programmer must clearly define what the problem set is and clarify what counts as inputs. In algorithmic thinking, with any given problem there is no one correct solution.

The process of writing an algorithm is:-

  1. The algorithm needs to have a clearly defined problem statement, input, and output.
  2. Steps in the algorithm need to be in a specific order.
  3. The steps need to be distinct .
  4. The algorithm should produce a result .
  5. The algorithm should be completed in a finite amount of time.

An algorithm is deemed to be correct if on every run of the algorithm we get the output we expect.

--

--

Crystal X
Crystal X

Written by Crystal X

I have over five decades experience in the world of work, being in fast food, the military, business, non-profits, and the healthcare sector.

No responses yet