学会思考
刻意练习
上一页 1 2 3 4 5 6 7 ··· 22 下一页
摘要: /* Two Sum *Description: Given an array of integers that is already sorted in ascending order, find two numbers such that they add up to a specific ta 阅读全文
posted @ 2020-03-06 17:29 Worty 阅读(80) 评论(0) 推荐(0) 编辑
摘要: /* *Best Time to Buy and Sell Stock II Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to 阅读全文
posted @ 2020-03-06 17:05 Worty 阅读(115) 评论(0) 推荐(0) 编辑
摘要: /* * Best Time to Buy and Sell Stock I * Say you have an array for which the ith element is the price of a given stock on day i. * If you were only pe 阅读全文
posted @ 2020-03-06 16:00 Worty 阅读(124) 评论(0) 推荐(0) 编辑
摘要: /* Pascal's Triangle II Description Given a non-negative index k where k ≤ 33, return the kth index row of the Pascal's triangle. Note that the row in 阅读全文
posted @ 2020-03-06 15:16 Worty 阅读(126) 评论(0) 推荐(0) 编辑
摘要: //杨辉三角(数组) /* * @Description: Given a non-negative integer numRows, generate the first numRows of Pascal's triangle. * Input: 5 * Output: * [ * [1], * 阅读全文
posted @ 2020-03-06 14:24 Worty 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 参考:https://segmentfault.com/a/1190000003707411Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array. Note: You m 阅读全文
posted @ 2020-03-05 17:20 Worty 阅读(174) 评论(0) 推荐(0) 编辑
摘要: Given a non-empty array of digits representing a non-negative integer, plus one to the integer. The digits are stored such that the most significant d 阅读全文
posted @ 2020-03-04 17:42 Worty 阅读(336) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.cnblogs.com/ygh1229/p/9771441.html 描述: Given an integer array nums, find the contiguous subarray (containing at least one number) which 阅读全文
posted @ 2020-03-04 16:55 Worty 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 问题:qt qmake报错::-1: error: File Makefile.Debug doesn't exist.原因:.pro中使用子目录使用工程时,TEMPLATE = subdirs,写成了SUBDIRS,导致以上错误;所以要根据提示去查找错误,必要时去查看makefile文件,发现确实 阅读全文
posted @ 2020-03-03 17:21 Worty 阅读(1318) 评论(0) 推荐(0) 编辑
摘要: 1,qt如何打包文件:https://blog.csdn.net/kangshuaibing/article/details/84951619、2,小技巧:4.命令行进入要打包的exe目录下 cd /d exe所在目录 cd /d表示可跨磁盘 阅读全文
posted @ 2020-03-03 17:18 Worty 阅读(256) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 22 下一页