- 博客(5)
- 资源 (10)
- 收藏
- 关注
原创 LeetCode 237: Delete Node in a Linked List
Write a function to delete a node (except the tail) in a singly linked list, given only access to that node.Supposed the linked list is 1 -> 2 -> 3 -> 4 and you are given the third node with value 3, t
2016-09-21 16:14:46 486
原创 LeetCode 136: Invert Binary Tree
Invert a binary tree. 4 / \ 2 7 / \ / \1 3 6 9to 4 / \ 7 2 / \ / \9 6 3 1题目中的这句话亮了:Google: 90% of our engineers use the software you wrote (Homebrew), but
2016-09-20 10:34:25 410
原创 LeetCode 136: Single Number
Given an array of integers, every element appears twice except for one. Find that single one.此题和389题如出一辙: 如果存在相同的数,异或一定会为0,剩下的就是那个单数int singleNumber(int* nums, int numsSize) { int i, single = 0;
2016-09-20 09:29:25 472
原创 LeetCode 389: Find the Difference 题解
Given two strings s and t which consist of only lowercase letters.String t is generated by random shuffling string s and then add one more letter at a random position.Find the letter that was adde
2016-09-20 08:44:09 860
原创 javascript实现表格的添加和删除
注意window.onload()会在网页完成加载后立即执行,我们可以在这个时候为一些元素绑定一些事件响应函数,而一般的函数调用可以写在window.load()函数之外。代码很简单: new document window.onload=function(){ // 为每一行绑定onmouseover和onmou
2016-09-01 22:07:28 1149
2014Computer Organization and Design 5th
2016-02-24
Pattern Recognition and Machine Learning.pdf 模式识别与机器学习
2015-12-16
Introduction To Algorithms Third Edition.pdf
2015-11-29
Algorithms for Image Processing and Computer Vision.pdf
2015-11-29
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人