随笔分类 -  数据结构与算法

摘要:原文链接: https://www.cnblogs.com/bigroc/p/14212875.html 一、Stack (栈) 1、数据结构 Stack是栈。它的特性是:先进后出(FILO, First In Last Out) 后进先出(Last in - First out)。java工具包中 阅读全文
posted @ 2020-12-30 18:08 bigroc 阅读(340) 评论(0) 推荐(0) 编辑
摘要:原文链接: https://www.cnblogs.com/bigroc/p/14208123.html 一、Array 1、创建语法 |语言|语法| | | | |Java C++|int a[100]| |Python|list=[]| |JavaScript|let s = [1,2,3]| 阅读全文
posted @ 2020-12-30 10:29 bigroc 阅读(174) 评论(0) 推荐(0) 编辑
摘要:原文:https://www.cnblogs.com/bigroc/p/13964091.html 一、数据结构(简单到复杂) 1.Array 数组 2.Stack / Queue 堆 / 队列 3.PriorityQueue (heap) 优先队列 、堆 4.LinkedList (single 阅读全文
posted @ 2020-11-12 15:20 bigroc 阅读(167) 评论(0) 推荐(0) 编辑