自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 资源 (1)
  • 收藏
  • 关注

原创 LeetCode 刷题记录 24. Swap Nodes in Pairs

题目: Given a linked list, swap every two adjacent nodes and return its head. You may not modify the values in the list’s nodes, only nodes itself may be changed. Example: Given 1->2->3->4, you...

2019-05-26 22:07:35 95

原创 LeetCode 刷题记录 23. Merge k Sorted Lists

题目: Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity. Example: Input: [ 1->4->5, 1->3->4, 2->6 ] Output: 1->1->2->3->4->4...

2019-05-26 15:04:20 118

原创 Java 核心技术 卷I 基础知识 第7章 异常、断言和曰志

7.1 处理错误 7.1.1 异常分类 7.1.2 声明受查异常 7.1.3 如何抛出异常 7.1.4 创建异常类 7.2 捕获异常 7.2.1 捕获异常 7.2.2 捕获多个异常 7.2.3 再次抛出异常与异常链 7.2.4 finally 子句 7.2.5 带资源的 try语句 7.2.6 分析堆栈轨迹元素 package stackTrace; import java...

2019-05-25 15:30:07 104

原创 Java 核心技术 卷I 基础知识 第6章 接口、lambda 表达式与内部类

6.1 接口 6.1.1 接口概念 package interfaces; public class Employee implements Comparable<Employee> { private String name; private double salary; public Employee(String name, double salary) ...

2019-05-20 19:50:21 131

原创 LeetCode 刷题记录 22. Generate Parentheses

题目: Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. For example, given n = 3, a solution set is: [ “((()))”, “(()())”, “(())()”, “()(())”, “()()...

2019-05-18 13:00:42 88

原创 LeetCode 刷题记录 21. Merge Two Sorted Lists

题目: Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. Example: Input: 1->2->4, 1->3->4 Output: 1...

2019-05-09 23:22:35 109

原创 LeetCode 刷题记录 20. Valid Parentheses

题目: Given a string containing just the characters ‘(’, ‘)’, ‘{’, ‘}’, ‘[’ and ‘]’, determine if the input string is valid. An input string is valid if: Open brackets must be closed by the same type of...

2019-05-09 10:37:39 130

原创 LeetCode 刷题记录 19. Remove Nth Node From End of List

题目: Given a linked list, remove the n-th node from the end of list and return its head. Example: Given linked list: 1->2->3->4->5, and n = 2. After removing the second node from the end, t...

2019-05-08 22:43:49 85

原创 邓俊辉 数据结构 图

概述 图(邻接矩阵 构思) 问题:哈密尔顿环路不应该是经过所有顶点一次且恰好一次的环路吧,这里的所有顶点应该排除起始点或者说终止点,在这个点算两次吧?(by 阿龙211068) 答:一个环路是这样的,何来起点终点? 虽然表示这个环路的时候,可能用 (A -> B -> C -> A) 来表示,但并不意味着 A 在环路里经过了 2 次。(by yuantailing 老师) ...

2019-05-04 19:12:17 834

原创 LeetCode 刷题记录 18. 4Sum

题目: Given an array nums of n integers and an integer target, are there elements a, b, c, and d in nums such that a + b + c + d = target? Find all unique quadruplets in the array which gives the sum of...

2019-05-02 21:45:57 80

原创 LeetCode 刷题记录 17. Letter Combinations of a Phone Number

题目: Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the number could represent. A mapping of digit to letters (just like on the telephone buttons) is ...

2019-05-02 20:12:46 127

原创 深入理解计算机系统 第四章 处理器体系结构 笔记

4.1 Y86-64 指令集体系结构 4.1.1 程序员可见的状态 4.1.2 Y86-64 指令

2019-05-01 16:10:57 425

计算机网络自顶向下方法答案(英文第六版)

计算机领域的经典教材 计算机网络自顶向下方法 第六版的英文答案

2019-01-08

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除