自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

陈止风的博客

www.yingzinanfei.com

  • 博客(15)
  • 收藏
  • 关注

原创 leetcode223题 题解 翻译 C语言版 Python版

223. Rectangle AreaFind the total area covered by two rectilinear rectangles in a 2D plane.Each rectangle is defined by its bottom left corner and top right corner as shown in the figure.

2016-04-19 21:11:30 799

原创 leetcode88题 题解 翻译 C语言版 Python版

88. Merge Sorted ArrayGiven two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array.Note:You may assume that nums1 has enough space (size that is greater or e

2016-04-19 19:48:50 1854

原创 leetcode36题 题解 翻译 C语言版 Python版

36. Valid SudokuDetermine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty cells are filled with the character '.'.

2016-04-19 19:42:11 829

原创 leetcode111题 题解 翻译 C语言版 Python版

111. Minimum Depth of Binary TreeGiven a binary tree, find its minimum depth.The minimum depth is the number of nodes along the shortest path from the root node down to the nearest leaf node

2016-04-19 15:17:00 786

原创 leetcode112题 题解 翻译 C语言版 Python版

112. Path SumGiven a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.For example:Given the below bin

2016-04-19 15:05:29 865

原创 约瑟夫环问题及其尽可能的优化

约瑟夫问题描述:n个人围成一个圈,编号为0,1,2,..,n-1,设定一个常数k,然后从0号开始从1依次报数,报到k的那个人退出圈,后面一个人继续从1开始报数,依次类推,求最后剩下的人的编号方法1:模拟游戏过程的方法,将n个人串成一个循环链表,不停地去遍历链表,直到最后剩下一个结点。优点:方法直观,写起来很容易缺点:模拟了全部游戏过程,非常耗时,并且在n较大时占用较大的

2016-04-17 18:47:29 3600 4

原创 leetcode118题 题解 翻译 C语言版 Python版

118. Pascal's TriangleGiven numRows, generate the first numRows of Pascal's triangle.For example, given numRows = 5,Return[ [1], [1,1], [1,2,1], [1,3,3,1], [1,4,6,4,1]]

2016-04-17 14:26:19 1438

原创 leetcode66题 题解 翻译 C语言版 Python版

66. Plus OneGiven a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is at the head of the list.66

2016-04-15 10:45:59 1527

原创 leetcode26题 题解 翻译 C语言版 Python版

26. Remove Duplicates from Sorted ArrayGiven a sorted array, remove the duplicates in place such that each element appear only once and return the new length.Do not allocate extra space for

2016-04-15 10:28:06 1364

原创 leetcode27题 题解 翻译 C语言版 Python版

27. Remove ElementGiven an array and a value, remove all instances of that value in place and return the new length.Do not allocate extra space for another array, you must do this in place w

2016-04-15 09:43:08 1999

原创 leetcode101题 题解 翻译 C语言版 Python版

101. Symmetric TreeGiven a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric: 1 / \ 2 2 / \ / \

2016-04-14 21:34:41 1602

原创 leetcode110题 题解 翻译 C语言版 Python版

110. Balanced Binary TreeGiven a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tree in which the depth of the two sub

2016-04-14 21:01:46 1408

原创 leetcode24题 题解 翻译 C语言版 Python版

24. Swap Nodes in PairsGiven a linked list, swap every two adjacent nodes and return its head.For example,Given 1->2->3->4, you should return the list as 2->1->4->3.Your algorithm shou

2016-04-14 20:46:54 996

原创 leetcode21题 题解 翻译 C语言版 Python版

21. Merge Two Sorted ListsMerge 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.21.合并两个有序链表合并两个有序链表并将其作为一

2016-04-14 19:49:44 1950

原创 Windbg本机调试时“your debugger is not using the correct symbols”错误

第一次学着用Windbg本机调试内核,跟着教程走1.命令行启动本机内核调试D:\WinDbg>windbg -kl2.输入命令查看系统内核信息lkd> dt nt!_KDPC3.报错:your debugger is not using the correct symbols在网上查询很久,根据部分信息得到如下解决办法:原因是缺少符号,可以新建一个文件夹,然后从

2016-04-14 14:01:56 16064

空空如也

空空如也

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

TA关注的人

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