- 博客(7)
- 收藏
- 关注
原创 Leecode:6. ZigZag Conversion(week8—-medium)
题目 The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility) And then read line ...
2018-10-22 00:01:57 141
原创 MIPS汇编语言程序设计
题目: 编写一程序,实现将既包含在数组A中又包含在数组B中的无符号字数取出并存于内存中,其中数组A包含20个数,数组B包含30个数。如找不到相同的数则显示“No same!” 设计流程: 代码: ############## equal #####################################################################...
2018-10-19 16:05:47 3484
原创 多媒体图像切换与中值区分法
实验目的 实验工具 实验内容 实验一 题目 算法概述 代码实现 实验效果 实验二 题目 算法概述 代码实现 实验效果 实验目的 了解图片切换以及应用实现 实现中值区分算法 实验工具 python 3.7.0 pycharm 实验内容 实验一 题目 实现一种视频切换,将一张图片慢慢覆盖另一张图片,并通过一个开放的圆圈慢慢显现。写出公式,并在两个图片中获得正...
2018-10-19 15:56:28 721
原创 计算机网络第二次课上作业
题目一 解答 题目二 解答 题目三 解答 题目一 简要说明运输层为了保证高吞吐量以及可靠传输的机制有哪一些? 解答 高吞吐量的机制 流水线技术 可靠数据传输机制:rdt 检验和 定时器(超时机制) 序号 确认ACK 否定确认NAK 窗口、流水线 重传(GBN与SR) 附: 题目二 TCP如何控制流传输 解答 通过让发送方维...
2018-10-18 15:20:28 377
原创 Leecode:135. Candy(week7—-hard)
题目 示例 分析 题解 其他算法 改进 空间复杂度为O(1),时间复杂度O(n)的算法 小结 参考 题目 There are N children standing in a line. Each child is assigned a rating value. You are giving candies to these children subjected to t...
2018-10-17 10:42:07 331
原创 Leetcode: 207. Course Schedule(week6 — medium)
题目 There are a total of n courses you have to take, labeled from 0 to n-1. Some courses may have prerequisites, for example to take course 0 you have to first take course 1, which is expressed as a...
2018-10-12 23:56:41 164
原创 Leetcode310. Minimum Height Trees (week5 — medium)
题目 示例 分析 题解 后记 题目 For a undirected graph with tree characteristics, we can choose any node as the root. The result graph is then a rooted tree. Among all possible rooted trees, those with mi...
2018-10-07 00:21:20 322
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人