码迷,mamicode.com
首页 >  
搜索关键字:数据结构 栈    ( 52465个结果
数据结构 03-树2 List Leaves (25 分)
Given a tree, you are supposed to list all the leaves in the order of top down, and left to right. Input Specification: Each input file contains one t ...
分类:其他好文   时间:2021-05-24 14:03:04    阅读次数:0
Electron-Vue3-Vadmin后台系统|vite2+electron桌面端权限管理系统
基于vite2.x+electron12桌面端后台管理系统Vite2ElectronVAdmin。 继上一次分享vite2整合electron搭建后台框架,这次带来的是最新开发的跨桌面中后台权限管理系统。使用最新的前端技术栈,内置 i18n 国际化解决方案,动态权限路由,权限验证,整合了典型的表格/ ...
分类:其他好文   时间:2021-05-24 13:48:24    阅读次数:0
数据结构 02-线性结构4 Pop Sequence (25 分)
Given a stack which can keep M numbers at most. Push N numbers in the order of 1, 2, 3, ..., N and pop randomly. You are supposed to tell if a given s ...
分类:其他好文   时间:2021-05-24 13:43:08    阅读次数:0
上课老师提问我什么是二叉查找树,我把这些动图拿了出来,动图图解及代码实现。
本文为系列专题【数据结构和算法:简单方法】的第 12 篇文章。 数据结构 | 顺序表 数据结构 | 链表 数据结构 | 栈 数据结构 | 队列 数据结构 | 双链表和循环链表 数据结构 | 二叉树的概念和原理 数据结构 | 二叉树的创建及遍历实现 数据结构 | 线索二叉树 数据结构 | 二叉堆 算法 ...
分类:其他好文   时间:2021-05-24 13:33:11    阅读次数:0
leetcode 232 用栈实现队列
简介 使用队列实现队列哈哈. code class MyQueue { public: queue<int> q; public: /** Initialize your data structure here. */ MyQueue() { } /** Push element x to the ...
分类:其他好文   时间:2021-05-24 13:17:52    阅读次数:0
数据结构 02-线性结构3 Reversing Linked List (25 分)
Given a constant K and a singly linked list L, you are supposed to reverse the links of every K elements on L. For example, given L being 1→2→3→4→5→6, ...
分类:其他好文   时间:2021-05-24 13:17:05    阅读次数:0
前端面试(蚂蚁金服笔试) - 手写事件总栈 EventBus
最近参加了一次蚂蚁金服的面试,其中有两道笔试题,分别是手写事件总栈和手写模板引擎 手写模板引擎比较复杂,除了需要识别 {{data.name}} 这种基本情况之外, 还要兼顾 {{data.info[1]}}、{{data.others["about"]}} 于是先记录下手写事件总栈,后面再完善手写 ...
分类:其他好文   时间:2021-05-24 13:06:22    阅读次数:0
数据结构 01-复杂度2 Maximum Subsequence Sum (25 分)
Given a sequence of K integers { N?1??, N?2??, ..., N?K?? }. A continuous subsequence is defined to be { N?i??, N?i+1??, ..., N?j?? } where 1≤i≤j≤K. T ...
分类:其他好文   时间:2021-05-24 12:48:45    阅读次数:0
数据结构 01-复杂度1 最大子列和问题 (20 分)
给定K个整数组成的序列{ N?1??, N?2??, ..., N?K?? },“连续子列”被定义为{ N?i??, N?i+1??, ..., N?j?? },其中 1≤i≤j≤K。“最大子列和”则被定义为所有连续子列元素的和中最大者。例如给定序列{ -2, 11, -4, 13, -5, -2 ...
分类:其他好文   时间:2021-05-24 12:47:25    阅读次数:0
数据结构(严蔚敏)2.4一元多项式
学习记录,仅供参考,希望可以指出错误 根据带头结点的线性链表改编,即elemtype也变成了struct结构 #include<stdio.h> #include<stdlib.h> //改由带头结点的线性链表 #define OK 1 #define ERROR 0 typedef int sta ...
分类:其他好文   时间:2021-05-24 12:40:12    阅读次数:0
52465条   上一页 1 ... 17 18 19 20 21 ... 5247 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!