首页 > 编程语言 >DSA-Python

DSA-Python

时间:2022-12-26 21:13:38浏览次数:36  
标签:set Algorithm algorithm Python should steps need DSA

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.

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

标签:set,Algorithm,algorithm,Python,should,steps,need,DSA
From: https://www.cnblogs.com/shendaw/p/17006926.html

相关文章

  • Python爬虫 -- Selenium库的使用
    0x00Selenium库的作用模拟真实浏览器获取相关数据,比如有些网站检测token等值的时候,可以通过selenium库进行绕过0x01环境搭建1、安装selenium库pip3installselenium2、查......
  • 用Python编写EXP
    高考过后,你不用告诉我你考多少分,悲喜之后也不要告诉我你志愿填了哪里,只要告诉我最后去了哪?我坐火车或飞机要多久,在此停留能否蹭口饭吃,一本二本我真的分不清楚,我只知道你是我......
  • Python千万级字典快速去重脚本
    希望你每天醒来都是阳光的,不会因为别人的几句话,几个表情和几个举止影响自己的心情,好好生活,总会遇见美好的事。。。---- 网易云热评 一、下载地址​​https://github.com/......
  • [oeasy]python0033_任务管理_jobs_切换任务_进程树结构_fg
    ​ 查看进程回忆上次内容上次先进程查询ps-elf查看所有进程信息ps-lf查看本终端相关进程信息杀死进程kill-9PID给进程发送死亡信号运行多个py......
  • python程序的流程控制结构
    文章目录​​一.程序的顺序结构​​​​二.程序的分支结构​​​​1.单分支结构​​​​2.二分支结构​​​​(1).基本形式​​​​(2).紧凑形式​​​​3.多分支结......
  • Python函数和代码复用
    文章目录​​一.函数的定义和使用​​​​1.函数的理解与定义​​​​(1).定义​​​​(2).作用​​​​(3).函数分类​​​​(3).基本语法​​​​2.函数的使用及调......
  • Python序列类型及操作
    文章目录​​一.序列类型定义(sequence)​​​​1.序列是具有先后关系的一组元素​​​​2.序列是一个基类类型,一般使用序列类型衍生出来的类型​​​​3.序号的定义​​......
  • Python字典类型及操作
    文章目录​​一.字典类型定义(dict)​​​​1.映射​​​​2.字典类型是映射的体现​​​​3.创建字典​​​​(1).直接创建字典​​​​(2).使用内置函数dict()创建字......
  • Python集合类型及操作
    文章目录​​一.集合类型概述(set)​​​​1.定义​​​​2.特点​​​​二.集合的创建与访问​​​​1.直接创建集合​​​​(1).定义​​​​(2).语法​​​​(3).......
  • Python网络爬虫概述
    文章目录​​一.掌握定向网络数据爬取和网页解析的基本能力​​​​二.python开发工具选择​​​​1.文本工具类IDE​​​​2.集成工具类IDE​​一.掌握定向网络数据爬......