上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 50 下一页
摘要: In computer science, a heap is a specialized tree-based data structure that satisfies the heap property: if P is a parent node of C, then the key (the 阅读全文
posted @ 2020-01-17 18:53 SteveYu 阅读(121) 评论(0) 推荐(0) 编辑
摘要: ``` typedef struct HNode *Heap; /* 堆的类型定义 */ struct HNode { ElementType *Data; /* 存储元素的数组 */ int Size; /* 堆中当前元素个数 */ int Capacity; /* 堆的最大容量 */ }; typedef Heap MaxHeap; /* 最大堆 */ typedef Heap MinHeap 阅读全文
posted @ 2020-01-17 17:07 SteveYu 阅读(246) 评论(0) 推荐(0) 编辑
摘要: express 是一个js的web框架,对http库进行了二次封装。下面是一段精简简要解读,带注释。 依赖npm外部库:express、body parser、multer body parser是一个进行解析request的body段区域的js库 multer是一个进行解析文件upload的库 使 阅读全文
posted @ 2020-01-11 22:46 SteveYu 阅读(238) 评论(0) 推荐(0) 编辑
摘要: node 1.常用全局对象 2.模块导出的三种方式 js var counter = function(arr){ return "threre are " + arr.length + " elements in the array" } var adder = function(a,b){ re 阅读全文
posted @ 2020-01-11 04:18 SteveYu 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 现在是2020年1月4日早上4点34分,刷课刷到1点,之后刷知乎到现在。 思考自己未来想从事什么行业,一直都是一个比较困惑的事情,不同的人有不同的答案。 今天4:36分,过去一个月在准备期末考,期末考完说是休息,但自己却闲不下来。自己明白,互联网行业,追求什么,想追求什么,选择什么方向,这段时间做什 阅读全文
posted @ 2020-01-04 04:49 SteveYu 阅读(234) 评论(0) 推荐(1) 编辑
摘要: 感谢syx,zkk,tn大佬的帮助,侥幸复习完毕 一、填空题 1.CPU由两部分组成,这两部分是? 运算器、控制器 2.给一个数字转换为十六进制、八进制、二进制?(略) 3.存储器分为2大类? ROM 只读存储器 RAM 随机存取存储器 4.当前运行数据必须放在? 内存 5.内存单元地址的真正含义? 阅读全文
posted @ 2019-12-31 03:58 SteveYu 阅读(1380) 评论(0) 推荐(0) 编辑
摘要: 1.前言 此文记录互联网行业共识的知识,原视频b站万能布偶先生视频《程序员年入百万?——前阿里达摩程序员高度你程序员真实收入情况》 https://www.bilibili.com/video/av81046459?t=26 2.收入 3.1.年薪计算公式 年薪=package=月薪*13薪+年终奖 阅读全文
posted @ 2019-12-30 05:10 SteveYu 阅读(5294) 评论(0) 推荐(0) 编辑
摘要: There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity sh 阅读全文
posted @ 2019-12-30 03:18 SteveYu 阅读(157) 评论(0) 推荐(0) 编辑
摘要: Given a string, find the length of the longest substring without repeating characters. Example 1: Input: "abcabcbb"Output: 3 Explanation: The answer i 阅读全文
posted @ 2019-12-30 02:54 SteveYu 阅读(150) 评论(0) 推荐(0) 编辑
摘要: You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contai 阅读全文
posted @ 2019-12-30 02:31 SteveYu 阅读(142) 评论(0) 推荐(0) 编辑
摘要: Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex 阅读全文
posted @ 2019-12-30 01:41 SteveYu 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 1、选择C++刷算法的理由 1.C++速度快(C不是更快么,java太慢了) 2.C++有STL(什么是STL)——使用很方便的类库 3.如何使用STL进行高效刷算法 4.好处:刷算法,学习成本极低 5.如何从C到C++(仅基础语法到刷算法程度) 2、输入输出 C++保留了C的scanf和print 阅读全文
posted @ 2019-12-29 00:13 SteveYu 阅读(9622) 评论(2) 推荐(27) 编辑
摘要: 1.安装 1.npm install g create react app 安装脚手架 2.create react app pros name 初始化 3.react的api比较少,基本一次,之后不用看文档了,核心js功力 2.React&ReactDom 删除src下所有代码,新建index.j 阅读全文
posted @ 2019-12-26 02:27 SteveYu 阅读(256) 评论(0) 推荐(0) 编辑
摘要: 1.前言 介绍编译原理,了解一个新的领域,得去了解它的整体框架 词法分析 Thompson算法,子集构造算法(DFA,NFA),Hopcroft算法 语法分析 LL(1),消除左递归,提取公共左因子,构造预测分析表,分析过程 LR(0),构造DFA,构造LR(0)分析表,进行语法分析,写出过程 短语 阅读全文
posted @ 2019-12-26 02:01 SteveYu 阅读(14275) 评论(3) 推荐(17) 编辑
摘要: 1.点击设置 点击CodeRunner的小齿轮,点击configure extension settings 2.点击映射 点击executor map中的Edit in settings.json 3.粘贴代码 粘贴如下代码,按下command + s 进行保存 阅读全文
posted @ 2019-12-23 12:41 SteveYu 阅读(3321) 评论(0) 推荐(1) 编辑
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 50 下一页