随笔分类 - 数据结构与算法
摘要:原文链接: https://www.cnblogs.com/bigroc/p/14212875.html 一、Stack (栈) 1、数据结构 Stack是栈。它的特性是:先进后出(FILO, First In Last Out) 后进先出(Last in - First out)。java工具包中
阅读全文
摘要:原文链接: https://www.cnblogs.com/bigroc/p/14208123.html 一、Array 1、创建语法 |语言|语法| | | | |Java C++|int a[100]| |Python|list=[]| |JavaScript|let s = [1,2,3]|
阅读全文
摘要:原文:https://www.cnblogs.com/bigroc/p/13964091.html 一、数据结构(简单到复杂) 1.Array 数组 2.Stack / Queue 堆 / 队列 3.PriorityQueue (heap) 优先队列 、堆 4.LinkedList (single
阅读全文