DSA-Python

19.55
Algorithms and Data Structures Tutorial - Full Course for Beginners
https://www.ytb*.com/watch?v=8hly31xKli0&t=334s

1. Algorithm

1.1 Introduction

Algorithm: A set of steps or instructions for completing a task.
Algorithm in computer science: A set of steps a program takes to finish a task.

The aim of studing algorithm:

  1. Know what the solutions are;
  2. When to apply it.

Guidelines:

  1. Clearly defined problem statement, input, and output.
  2. The steps in the algorithm need to be in a very specific order.
  3. The steps also need to be distinct. (You should not be able to break it down into further subtasks.)
  4. The algorithm should produce a result.
  5. The algorithm should complete in a finite amount of time.

2. Data Structure

3. Sorting and Searching

posted @ 2022-12-26 21:01  shendawei  阅读(27)  评论(0)    收藏  举报