- 博客(7)
- 收藏
- 关注
原创 LeetCode | Merge Sorted Array
Given two sorted integer arrays A and B, merge B into A as one sorted array.Note:You may assume that A has enough space (size that is greater or equal to m + n) to hold additional elements from
2014-10-29 16:40:31 331
原创 opencv的配置、使用
一、将下载后的文件解压到:E:\Opencv二、配置opencv的环境变量:系统path添加 E:\Opencv\opencv\build\x86\vc11; E:\Opencv\opencv\build\common\tbb\ia32\vc11; E:\Opencv\opencv\build\x86\vc11\bin; vc10是指VS201
2014-10-29 11:46:44 484
原创 LeetCode | 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.
2014-10-29 11:41:43 317
原创 LeetCode | Minimum Depth of Binary Tree
Given 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/** * Definition for binary tree * public class TreeNod
2014-10-28 09:56:24 229
原创 LeetCode | Same Tree
问题:Given two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally identical and the nodes have the same value./**
2014-10-27 09:21:21 302
原创 LeetCode | Maximum Depth of Binary Tree
Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node.使用递归:
2014-10-26 13:19:31 471
原创 LeetCode | Insertion Sort List
昨天开始leetcode,一道题整整一晚上都没弄出来,看别人的答案都看了一晚上,编程太
2014-10-26 09:50:56 442
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人