- 博客(109)
- 资源 (12)
- 收藏
- 关注
原创 GDAL 64位编译及工程建立(vs2012)
vs2012下编译GDAL及建立工程GDAL简介GDAL官方网址http://www.gdal.org/index.html GDAL下载地址http://download.osgeo.org/gdal/ GDAL(Geospatial Data Abstraction Library)是一个在X/MIT许可协议下的开源栅格空间数据转换库。它利用抽象数据模型来表达所支持的各种文件格式。它还有一系
2015-09-22 15:57:56
765
原创 100 Same Tree
100 Same Tree链接:https://leetcode.com/problems/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 structurall
2015-08-19 04:25:43
551
原创 129 Sum Root to Leaf Numbers
129 Sum Root to Leaf Numbers链接:https://leetcode.com/problems/sum-root-to-leaf-numbers/ 问题描述: Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number.An
2015-08-19 04:07:41
489
原创 101 Symmetric Tree
101 Symmetric Tree链接:https://leetcode.com/problems/symmetric-tree/ 问题描述: Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree
2015-08-19 03:51:30
513
原创 96 Unique Binary Search Trees
96 Unique Binary Search Trees链接:https://leetcode.com/problems/unique-binary-search-trees/ 问题描述: Given n, how many structurally unique BST’s (binary search trees) that store values 1…n?For example, G
2015-08-19 01:56:01
558
原创 98 Validate Binary Search Tree
98 Validate Binary Search Tree链接:https://leetcode.com/problems/validate-binary-search-tree/ 问题描述: Given a binary tree, determine if it is a valid binary search tree (BST).Assume a BST is defined as
2015-08-19 00:58:18
649
原创 44 Wildcard Matching
44 Wildcard Matching链接:https://leetcode.com/problems/wildcard-matching/ 问题描述: Implement wildcard pattern matching with support for ‘?’ and ‘*’.'?' Matches any single character.'*' Matches any sequen
2015-07-16 11:10:23
542
原创 6 ZigZag Conversion
链接:https://leetcode.com/problems/zigzag-conversion/ 问题描述: 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 fi
2015-07-15 21:30:18
329
原创 11 Container With Most Water
链接:https://leetcode.com/problems/container-with-most-water/ 问题描述: Given n non-negative integers a1, a2, …, an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such tha
2015-07-15 02:48:40
341
原创 28 Implement strStr()
链接:https://leetcode.com/problems/implement-strstr/ 问题描述: Implement strStr().Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.Update (2014-11-02
2015-07-15 02:22:32
370
原创 88 Merge Sorted Array
88 Merge Sorted Array链接:https://leetcode.com/problems/merge-sorted-array/ 问题描述: Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array.Note: You may assume that
2015-07-14 23:55:14
339
原创 209 Minimum Size Subarray Sum
链接:https://leetcode.com/problems/minimum-size-subarray-sum/ 问题描述: Given an array of n positive integers and a positive integer s, find the minimal length of a subarray of which the sum ≥ s. If there
2015-07-14 23:06:51
344
原创 234 Palindrome Linked List
234 Palindrome Linked List链接:https://leetcode.com/problems/palindrome-linked-list/ 问题描述: Given a singly linked list, determine if it is a palindrome.Follow up: Could you do it in O(n) time and O(
2015-07-14 16:22:23
612
原创 80 Remove Duplicates from Sorted Array II
80 Remove Duplicates from Sorted Array II链接:https://leetcode.com/problems/remove-duplicates-from-sorted-array-ii/ 问题描述: Follow up for “Remove Duplicates”: What if duplicates are allowed at most twic
2015-07-14 14:48:29
451
原创 26 Remove Duplicates from Sorted Array
链接:https://leetcode.com/problems/remove-duplicates-from-sorted-array/ 问题描述: Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.Do n
2015-07-14 14:36:02
454
原创 27 Remove Element
27 Remove Element链接:https://leetcode.com/problems/remove-element/ 问题描述: Given an array and a value, remove all instances of that value in place and return the new length.The order of elements can be
2015-07-13 13:03:42
469
原创 75 Sort Colors
75 Sort Colors链接:https://leetcode.com/tag/two-pointers/ 问题描述: Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in th
2015-07-13 10:57:24
368
原创 125 Valid Palindrome
125 Valid Palindrome链接:https://leetcode.com/problems/valid-palindrome/ 问题描述: Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For exampl
2015-07-13 09:58:31
418
原创 18 4Sum
18 4Sum链接:https://leetcode.com/problems/4sum/ 问题描述: Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all unique quadruplets in the array w
2015-07-13 00:32:25
293
原创 16 3Sum Closest
16 3Sum Closest链接:https://leetcode.com/problems/3sum-closest/ 问题描述: Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of
2015-07-13 00:29:21
311
原创 15 3Sum
15 3Sum链接:https://leetcode.com/problems/3sum/ 问题描述: Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum
2015-07-13 00:27:46
366
原创 42 Trapping Rain Water
42 Trapping Rain Water链接:https://leetcode.com/problems/trapping-rain-water/ 问题描述: Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water
2015-07-11 03:51:58
484
原创 20 Valid Parentheses
20 Valid Parentheses链接:https://leetcode.com/problems/valid-parentheses/ 问题描述: Given a string containing just the characters ‘(‘, ‘)’, ‘{‘, ‘}’, ‘[’ and ‘]’, determine if the input string is valid.The
2015-07-11 02:51:26
362
原创 49 Anagrams
49 Anagrams链接:https://leetcode.com/problems/anagrams/ 问题描述: Given an array of strings, return all groups of strings that are anagrams.Note: All inputs will be in lower-case.Hide Tags Hash Table Strin
2015-07-10 12:09:16
393
原创 94 Binary Tree Inorder Traversal
链接:https://leetcode.com/problems/binary-tree-inorder-traversal/ 问题描述: Given a binary tree, return the inorder traversal of its nodes’ values.For example: Given binary tree {1,#,2,3}, 1 \
2015-07-10 09:52:12
376
原创 219 Contains Duplicate II
219 Contains Duplicate II链接:https://leetcode.com/problems/contains-duplicate-ii/ 问题描述: Given an array of integers and an integer k, find out whether there there are two distinct indices i and j in
2015-07-09 22:31:08
405
原创 217 Contains Duplicate
217 Contains Duplicate链接:https://leetcode.com/problems/contains-duplicate/ 问题描述: Given an array of integers, find if the array contains any duplicates. Your function should return true if any valu
2015-07-09 22:09:29
352
原创 3 Longest Substring Without Repeating Characters
3 Longest Substring Without Repeating Characters链接:https://leetcode.com/problems/longest-substring-without-repeating-characters/ 问题描述: Given a string, find the length of the longest substring withou
2015-07-09 22:03:20
319
原创 76 Minimum Window Substring
76 Minimum Window Substring链接:https://leetcode.com/problems/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
2015-07-09 21:37:42
536
原创 136 Single Number
136 Single Number链接:https://leetcode.com/problems/single-number/ 问题描述: Given an array of integers, every element appears twice except for one. Find that single one.Note: Your algorithm should hav
2015-07-09 13:52:42
473
原创 30 Substring with Concatenation of All Words
30 Substring with Concatenation of All Words链接:https://leetcode.com/tag/hash-table/ 问题描述: You are given a string, s, and a list of words, words, that are all of the same length. Find all starting ind
2015-07-09 13:19:26
343
原创 37 Sudoku Solver
37 Sudoku Solver链接:https://leetcode.com/problems/sudoku-solver/ 问题描述: Write a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are indicated by the character ‘.’.You may assume
2015-07-08 22:31:22
366
原创 36 Valid Sudoku
36 Valid Sudoku链接:https://leetcode.com/problems/valid-sudoku/ 问题描述: Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty ce
2015-07-08 16:22:43
537
原创 1 Two Sum
1 Two Sum链接:https://leetcode.com/problems/two-sum/ 问题描述: Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of t
2015-07-08 13:31:50
446
原创 231 Power of Two
231 Power of Two链接:https://leetcode.com/problems/power-of-two/ 问题描述: Given an integer, write a function to determine if it is a power of two.Credits: Special thanks to @jianchao.li.fighter for ad
2015-07-07 15:24:34
365
原创 65 Valid Number
65 Valid Number链接:https://leetcode.com/problems/valid-number/ 问题描述: Validate if a given string is numeric.Some examples: “0” => true ” 0.1 ” => true “abc” => false “1 a” => false “2e10” => true
2015-07-07 14:51:31
709
原创 8 String to Integer (atoi)
8 String to Integer (atoi)链接:https://leetcode.com/problems/string-to-integer-atoi/ 问题描述: Implement atoi to convert a string to an integer.Hint: Carefully consider all possible input cases. If you wa
2015-07-03 13:20:42
458
原创 67 Add Binary
67 Add Binary链接:https://leetcode.com/problems/add-binary/ 问题描述: Given two binary strings, return their sum (also a binary string).For example, a = “11” b = “1” Return “100”.Hide Tags Math String求两
2015-07-03 01:26:12
494
原创 224 Basic Calculator
224 Basic Calculator链接:https://leetcode.com/problems/basic-calculator/ 问题描述: Implement a basic calculator to evaluate a simple expression string.The expression string may contain open ( and closin
2015-07-01 23:43:26
430
原创 227 Basic Calculator II
227 Basic Calculator II链接:https://leetcode.com/problems/basic-calculator-ii/ 问题描述: Implement a basic calculator to evaluate a simple expression string.The expression string contains only non-negat
2015-07-01 23:40:41
537
学生成绩管理系统
2014-03-10
内存分配算法
2014-03-10
银行家算法实现
2014-03-10
操作系统生产者消费者DEMO
2014-03-10
高质量C++编程指南
2014-03-10
数据结构与算法分析 C++语言描述 第二版 (Larry Nyhoff 著) 清华大学出版社_khdaw
2014-02-17
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人