- 博客(20)
- 资源 (14)
- 收藏
- 关注
原创 cocos2dx+KinectV2 体感游戏之微信打飞机
Cocos2dx微信打飞机体感游戏演示视频地址:点击打开链接 (注 : 视频中两次使用炸弹,没有很好的感应,因为阈值设定有点问题,已改)游戏的源码也上传到了 csdn 50下载积分 , 但同时也上传到了Github,来个star吧,免费下载:https://github.com/tanlichun211/SomaticGame-WeChat_PlanWars1.打飞机添加结束层 √2.道具双排...
2018-04-20 09:35:09 2579 17
原创 82. Remove Duplicates from Sorted List II
Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list.Example 1:Input: 1->2->3->3->4->4->5Output: 1->2-&g...
2018-04-22 20:08:19 167
原创 83. Remove Duplicates from Sorted List
Given a sorted linked list, delete all duplicates such that each element appear only once.Example 1:Input: 1->1->2Output: 1->2Example 2:Input: 1->1->2->3->3Output: 1->2->...
2018-04-22 10:32:36 183
转载 81. Search in Rotated Sorted Array II
Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand.(i.e., [0,0,1,2,2,5,6] might become [2,5,6,0,0,1,2]).You are given a target value to search. If found in t...
2018-04-20 21:09:50 286
原创 80. Remove Duplicates from Sorted Array II
Given a sorted array nums, remove the duplicates in-place such that duplicates appeared at most twice and return the new length.Do not allocate extra space for another array, you must do this by modif...
2018-04-20 16:22:11 112
原创 79. Word Search
Given a 2D board and a word, find if the word exists in the grid.The word can be constructed from letters of sequentially adjacent cell, where "adjacent" cells are those horizontally or vertically nei...
2018-04-20 15:19:26 119 1
原创 78. Subsets
Given a set of distinct integers, nums, return all possible subsets (the power set).Note: The solution set must not contain duplicate subsets.Example:Input: nums = [1,2,3]Output:[ [3], [1], [2...
2018-04-20 11:12:24 112
原创 77. Combinations
Given two integers n and k, return all possible combinations of k numbers out of 1 ... n.Example:Input: n = 4, k = 2Output:[ [2,4], [3,4], [2,3], [1,2], [1,3], [1,4],]class Solution {...
2018-04-20 09:26:25 109
转载 76. Minimum Window Substring
Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n).Example:Input: S = "ADOBECODEBANC", T = "ABC"Output: "BANC"Note:If there i...
2018-04-19 14:27:14 128
转载 75. Sort Colors
Given an array with n objects colored red, white or blue, sort them in-place so that objects of the same color are adjacent, with the colors in the order red, white and blue.Here, we will use the inte...
2018-04-18 21:43:21 125
原创 74. Search a 2D Matrix
Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties:Integers in each row are sorted from left to right.The first integer of each row is ...
2018-04-18 21:11:09 95
原创 72. Edit Distance
Given two words word1 and word2, find the minimum number of operations required to convert word1 to word2.You have the following 3 operations permitted on a word:Insert a characterDelete a characterRe...
2018-04-18 16:35:38 84
原创 67. Add Binary
Given two binary strings, return their sum (also a binary string).For example,a = "11"b = "1"Return "100".class Solution {public: string addBinary(string a, string b) { swap( a, b); int lenA = ...
2018-04-16 16:20:47 101
原创 66. Plus One
Given a non-negative integer represented as a non-empty array of digits, plus one to the integer.You may assume the integer do not contain any leading zero, except the number 0 itself.The digits are s...
2018-04-16 10:06:49 94
原创 64. Minimum Path Sum
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path.Note: You can only move either down or right at any...
2018-04-13 16:25:39 83
原创 63. Unique Paths II
Follow up for "Unique Paths":Now consider if some obstacles are added to the grids. How many unique paths would there be?An obstacle and empty space is marked as 1 and 0 respectively in the grid.For e...
2018-04-13 09:59:48 93
原创 62. Unique Paths
A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below).The robot can only move either down or right at any point in time. The robot is trying to reach the bott...
2018-04-13 09:33:21 103
原创 59. Spiral Matrix II
Given an integer n, generate a square matrix filled with elements from 1 to n2 in spiral order.For example,Given n = 3,You should return the following matrix:[ [ 1, 2, 3 ], [ 8, 9, 4 ], [ 7, 6, 5 ]...
2018-04-11 15:44:51 82
原创 58. Length of Last Word
Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string.If the last word does not exist, return 0.Note: A word is defined a...
2018-04-11 15:21:10 82
原创 54. Spiral Matrix
Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order.For example,Given the following matrix:[ [ 1, 2, 3 ], [ 4, 5, 6 ], [ 7, 8, 9 ]]You should r...
2018-04-08 10:09:59 88
结合PCL1.8 与Kinect V 2.0获取空间中深度与彩色信息,并保存为点云PCD数据
2019-03-19
两台大恒相机同时保存图像的MFC小程序
2019-03-16
MFC 以太网通讯之UDP (CAsyncSocket)
2017-12-07
Kinect测量论文收集(含kinect应用开发实战全书)
2017-12-02
MFC串口通信程序,ModBus RTU协议
2017-11-30
MFC打开大恒相机
2017-11-29
cocos2d-x-2.26 象棋游戏网络对战版
2017-11-29
KinectV2 实现鼠标控制(VS2013 C++版)
2017-10-25
MFC Opencv显示图片,图片类型为Mat
2017-10-24
MFC下利用OPENCV添加显示图片
2017-10-24
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人