- 博客(9)
- 资源 (1)
- 收藏
- 关注
原创 LeetCode Course Schedule
LeetCode Course ScheduleThere are a total of n courses you have to take, labeled from 0 to n - 1.Some courses may have prerequisites, for example to take course 0 you have to first take co
2015-05-31 10:41:54 1101
原创 LeetCode Word Search II
LeetCode Word Search IIGiven a 2D board and a list of words from the dictionary, find all words in the board.Each word must be constructed from letters of sequentially adjacent cell, where "
2015-05-28 14:37:06 1159
原创 LeetCode Add and Search Word - Data structure design
Add and Search Word - Data structure design Design a data structure that supports the following two operations:void addWord(word)bool search(word)search(word) can search a literal word o
2015-05-21 14:59:53 707
原创 LeetCode Implement Trie (Prefix Tree)
LeetCode Implement Trie (Prefix Tree)Implement a trie with insert, search, and startsWith methods.Note:You may assume that all inputs are consist of lowercase letters a-z.题目要求是实现字典
2015-05-19 10:30:15 666
原创 LeetCode Minimum Size Subarray Sum
LeetCode Minimum Size Subarray SumGiven 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 isn't one, return 0 inste
2015-05-16 22:03:16 857
原创 LeetCode LRU Cache
LeetCode LRU CacheDesign and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set.get(key) - Get the value (will always be
2015-05-15 15:52:09 689
原创 vs2010 error link2019无法解析的外部符号
vs2010 error link2019无法解析的外部符号一、动机自己写的Dll库,然后对其进行引用,出现了题中所示的错误。使用了以下步骤的解决办法。1、引入dll的头文件:属性-》c/c++-》常规-》附加包含目录,在框中加入dll的头文件2、引入lib库目录:属性-》链接器-》常规-》附加库目录,在框中加入生成dll对应的lib库目录(注意这里加入的是文件目录)3、引
2015-05-11 21:36:07 9756
原创 LeetCode House Robber
LeetCode House RobberYou are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping you from robbing each of
2015-05-10 17:08:03 762
原创 Windows下C/C++连接MySQL
Windows下C/C++连接MySQL一、安装MySQL二、连接MySQL本例子使用vs2010在Win7系统下连接本机MySQL服务器。1、用vs2010创建win32控制台应用程序2、配置工程2.1、配置头文件找到MySQL安装目录下的include文件夹:打开工程配置属性窗口--> C/C++ --> 常规 --> 附加包含目录,把mysql
2015-05-09 14:10:02 1158
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人