摘要: A peak element is an element that is strictly greater than its neighbors. Given an integer array nums, find a peak element, and return its index. If t 阅读全文
posted @ 2015-01-11 21:53 Grandyang 阅读(24555) 评论(14) 推荐(1) 编辑
摘要: 会议:Information Processing in Medical Imaging,IPMIIPMI2013International Conference on Medical Image Computing and Computer Assisted Intervention,MICCAI... 阅读全文
posted @ 2015-01-10 01:00 Grandyang 阅读(1933) 评论(0) 推荐(0) 编辑
摘要: Given a binary tree, return the preorder traversal of its nodes' values. Example: Input: [1,null,2,3] 1 \ 2 / 3 Output: [1,2,3] Follow up: Recursive s 阅读全文
posted @ 2014-12-05 16:29 Grandyang 阅读(15959) 评论(3) 推荐(3) 编辑
摘要: http://site.douban.com/190815/widget/notes/12033185/note/254050988/ 阅读全文
posted @ 2014-12-05 04:45 Grandyang 阅读(562) 评论(0) 推荐(0) 编辑
摘要: Creating a video with OpenCV 阅读全文
posted @ 2014-12-04 14:25 Grandyang 阅读(299) 评论(0) 推荐(0) 编辑
摘要: FOURCCNameSummary1978A.M.Paredes predictorThis is a LossLess video codec. >>>2VUY2VUY / BlackMagic>>>3IV03ivx3IV0 no longer used for this codec, howev... 阅读全文
posted @ 2014-12-04 07:32 Grandyang 阅读(3712) 评论(0) 推荐(0) 编辑
摘要: Given a linked list, return the node where the cycle begins. If there is no cycle, return null. To represent a cycle in the given linked list, we use 阅读全文
posted @ 2014-12-02 14:10 Grandyang 阅读(23550) 评论(17) 推荐(1) 编辑
摘要: Given a linked list, determine if it has a cycle in it. To represent a cycle in the given linked list, we use an integer pos which represents the posi 阅读全文
posted @ 2014-12-02 13:23 Grandyang 阅读(17288) 评论(3) 推荐(0) 编辑
摘要: 极客学院 阅读全文
posted @ 2014-12-01 14:07 Grandyang 阅读(403) 评论(1) 推荐(0) 编辑
摘要: iOS学习之 plist文件的读写 阅读全文
posted @ 2014-12-01 11:57 Grandyang 阅读(239) 评论(0) 推荐(0) 编辑
摘要: Given a non-empty array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a linear runti 阅读全文
posted @ 2014-11-29 13:06 Grandyang 阅读(16451) 评论(7) 推荐(0) 编辑
摘要: Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assume that each inp 阅读全文
posted @ 2014-11-29 10:43 Grandyang 阅读(159098) 评论(32) 推荐(14) 编辑
摘要: 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 conta 阅读全文
posted @ 2014-11-29 05:57 Grandyang 阅读(53738) 评论(8) 推荐(2) 编辑
摘要: Given the heads of two singly linked-lists headA and headB, return the node at which the two lists intersect. If the two linked lists have no intersec 阅读全文
posted @ 2014-11-28 14:40 Grandyang 阅读(22552) 评论(17) 推荐(1) 编辑
摘要: 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 阅读全文
posted @ 2014-11-28 13:03 Grandyang 阅读(26586) 评论(7) 推荐(1) 编辑
摘要: Given a signed 32-bit integer x, return x with its digits reversed. If reversing x causes the value to go outside the signed 32-bit integer range [-2^ 阅读全文
posted @ 2014-11-27 09:04 Grandyang 阅读(33959) 评论(13) 推荐(1) 编辑
摘要: unsigned int 0~4294967295 int -2147483648~2147483647 unsigned long 0~4294967295 long -2147483648~2147483647long long的最大值:9223372036854775807lon... 阅读全文
posted @ 2014-11-27 08:35 Grandyang 阅读(1047) 评论(0) 推荐(0) 编辑
摘要: Implement the myAtoi(string s) function, which converts a string to a 32-bit signed integer (similar to C/C++'s atoi function). The algorithm for myAt 阅读全文
posted @ 2014-11-27 07:35 Grandyang 阅读(28934) 评论(4) 推荐(2) 编辑
摘要: Given an integer x, return true if x is a palindrome, and false otherwise. Example 1: Input: x = 121 Output: true Explanation: 121 reads as 121 from l 阅读全文
posted @ 2014-11-27 02:28 Grandyang 阅读(21722) 评论(7) 推荐(0) 编辑
摘要: char 类型是c语言中常见的一个数据类型,string是c++中的一个,它的定义为Strings are objects that represent sequences of characters. 由此可见string是一个char序列的对象,有时候a56爆大奖在线娱乐们经常需要混用这两个数据类型,a56爆大奖在线娱乐有些常见... 阅读全文
posted @ 2014-11-26 15:51 Grandyang 阅读(6856) 评论(0) 推荐(0) 编辑
摘要: Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M. Symbol Value I 1 V 5 X 10 L 50 C 100 D 500 M 1000 For example, two 阅读全文
posted @ 2014-11-26 15:26 Grandyang 阅读(23115) 评论(6) 推荐(0) 编辑
摘要: Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M. Symbol Value I 1 V 5 X 10 L 50 C 100 D 500 M 1000 For example, two 阅读全文
posted @ 2014-11-25 13:56 Grandyang 阅读(35089) 评论(6) 推荐(4) 编辑
摘要: 新版的OpenCV在所有的函数和类前都加上了cv或Cv,这样很好的避免了区域污染(namespace pollution),而且不用在前面加‘cv::’,非常的使用。像之前的imshow()函数被现在的cvShowImage()所替代,现如今在OpenCV中显示一张图片可用如下代码:C API:Ip... 阅读全文
posted @ 2014-11-21 00:08 Grandyang 阅读(20587) 评论(0) 推荐(0) 编辑
摘要: OpenCV的IplImag和 FlyCapture2 的 Image是两种常见的图片格式,在实际的应用中,a56爆大奖在线娱乐们通常要混合使用OpenCV和FlyCapture2这两个SDK,a56爆大奖在线娱乐这两种图片格式之间的相互转换就是经常需要做的。首先分别来看看两种图片类的定义:IplImage:typedef stru... 阅读全文
posted @ 2014-11-20 09:03 Grandyang 阅读(3313) 评论(1) 推荐(1) 编辑
摘要: PointGreyResearch是世界领先的致力于开发高级数字相机产品的公司。PointGrey产品涉及IEEE-1394相机、立体视觉相机和360度全景数字视频相机。其中二代和三代的大黄蜂立体相机(Bumblebee2 and Bumblebee XB3) 也算其中的明星产品。大黄蜂二代相机有左 阅读全文
posted @ 2014-11-18 14:38 Grandyang 阅读(3357) 评论(35) 推荐(0) 编辑
摘要: BumbleBee2 双目视觉系统技术说明 阅读全文
posted @ 2014-11-18 14:04 Grandyang 阅读(513) 评论(0) 推荐(0) 编辑
摘要: Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. push(x) -- Push element x onto stack. pop() -- Remov 阅读全文
posted @ 2014-11-12 08:33 Grandyang 阅读(28575) 评论(5) 推荐(2) 编辑
摘要: 今天跟大神又学习了些关于IOS开发Swift语言的外部参数和内部参数func doSomething(num1: Int, num2: Int) -> Int { return num1 + num2}doSomething(1, 2)class A { func foo(#num1: ... 阅读全文
posted @ 2014-11-10 07:29 Grandyang 阅读(736) 评论(0) 推荐(0) 编辑
摘要: The count-and-say sequence is a sequence of digit strings defined by the recursive formula: countAndSay(1) = "1" countAndSay(n) is the way you would " 阅读全文
posted @ 2014-11-10 05:10 Grandyang 阅读(20089) 评论(1) 推荐(1) 编辑
摘要: Given a string s consisting of words and spaces, return the length of the last word in the string. A word is a maximal substring consisting of non-spa 阅读全文
posted @ 2014-11-10 03:42 Grandyang 阅读(10308) 评论(0) 推荐(0) 编辑
摘要: You are given the heads of two sorted linked lists list1 and list2. Merge the two lists into one sorted list. The list should be made by splicing toge 阅读全文
posted @ 2014-11-10 03:22 Grandyang 阅读(27048) 评论(6) 推荐(3) 编辑
摘要: Given two binary strings a and b, return their sum as a binary string. Example 1: Input: a = "11", b = "1" Output: "100" Example 2: Input: a = "1010", 阅读全文
posted @ 2014-11-09 12:59 Grandyang 阅读(18248) 评论(5) 推荐(0) 编辑
摘要: A valid number can be split up into these components (in order): A decimal number or an integer. (Optional) An 'e' or 'E', followed by an integer. A d 阅读全文
posted @ 2014-11-09 08:22 Grandyang 阅读(21323) 评论(5) 推荐(1) 编辑
摘要: You are given a large integer represented as an integer array digits, where each digits[i] is the ith digit of the integer. The digits are ordered fro 阅读全文
posted @ 2014-11-06 17:01 Grandyang 阅读(22017) 评论(2) 推荐(0) 编辑
摘要: You are climbing a staircase. It takes n steps to reach the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb 阅读全文
posted @ 2014-11-06 16:09 Grandyang 阅读(18964) 评论(16) 推荐(0) 编辑
摘要: Given the head of a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list. Return the 阅读全文
posted @ 2014-11-02 12:47 Grandyang 阅读(14544) 评论(7) 推荐(0) 编辑
摘要: Given the head of a sorted linked list, delete all duplicates such that each element appears only once. Return the linked list sorted as well. Example 阅读全文
posted @ 2014-11-01 09:43 Grandyang 阅读(11680) 评论(5) 推荐(0) 编辑
摘要: 总有一部电影,让你憋着尿直到看完~~~http://share.renren.com/share/230538513/17679574169?from=0101090202&shfrom=010301002 阅读全文
posted @ 2014-10-31 12:40 Grandyang 阅读(569) 评论(0) 推荐(0) 编辑
摘要: ASCII控制字符二进制十进制十六进制缩写可以显示的a56爆大奖在线娱乐法名称/意义00000000000NUL?空字符(Null)00000001101SOH?标题开始00000010202STX?a56爆大奖在线娱乐开始00000011303ETX?a56爆大奖在线娱乐结束00000100404EOT?传输结束00000101505ENQ?请... 阅读全文
posted @ 2014-10-30 07:52 Grandyang 阅读(1820) 评论(0) 推荐(0) 编辑
摘要: McGuire Computer Graphics Data http://mesh.brown.edu/calibration/software.html Pixar Online Library PLY Filesan ASCII Polygon Format 阅读全文
posted @ 2014-10-30 05:51 Grandyang 阅读(390) 评论(0) 推荐(0) 编辑
Fork me on GitHub