- 博客(108)
- 资源 (2)
- 收藏
- 关注
原创 Leetcode刷题125-21. 合并两个有序链表(C++详细解法!!!)
题目来源:链接: [https://leetcode-cn.com/problems/merge-two-sorted-lists/].21. 合并两个有序链表1.问题描述2.我的解决方案3.大神们的解决方案4.我的收获1.问题描述Merge two sorted linked lists and return it as a new list. The new list should be...
2019-07-17 20:23:27 261
原创 Leetcode刷题123-137.只出现一次的数字 II(C++详细解法!!!)
题目来源:链接: [https://leetcode-cn.com/problems/single-number-ii/].137.只出现一次的数字 II1.问题描述2.我的解决方案3.大神们的解决方案4.我的收获1.问题描述Given a non-empty array of integers, every element appears three times except for on...
2019-07-13 21:09:14 371
原创 Leetcode刷题121-181. 超过经理收入的员工(MySQL和Oracle解法!!!)
Come from : [https://leetcode-cn.com/problems/employees-earning-more-than-their-managers/]181. Employees Earning More Than Their Managers1.Question2.Answer3.我的收获1.QuestionSQL架构The Employee table ...
2019-07-11 20:38:32 249
原创 Leetcode刷题119-620. 有趣的电影(MySQL解法!!!)
Come from : [https://leetcode-cn.com/problems/not-boring-movies/]620. Not Boring Movies1.Question2.Answer3.我的收获1.QuestionSQL架构X city opened a new cinema, many people would like to go to this cine...
2019-07-09 20:00:53 170
原创 Leetcode刷题118-595. 大的国家(MySQL、Oracle通用解法!!!)
Come from : [https://leetcode-cn.com/problems/big-countries/]595. Big Countries1.Question2.Answer3.我的收获1.QuestionSQL架构There is a table World+-----------------+------------+------------+---------...
2019-07-08 20:46:23 255
原创 Leetcode刷题116-28. 实现strStr()(C++最简单实现详细解法!!!)
Come from : [https://leetcode-cn.com/problems/implement-strstr/]28. Implement strStr(1.Question2.Answer3.大神解答4.我的收获1.QuestionImplement strStr().Return the index of the first occurrence of needle ...
2019-07-06 20:12:32 238
原创 Leetcode刷题115-326. 3的幂(C++最简单实现详细解法!!!)
Come from : [https://leetcode-cn.com/problems/power-of-three/]326. Power of Three1.Question2.Answer3.大神解答4.我的收获1.QuestionGiven an integer, write a function to determine if it is a power of three....
2019-07-05 21:09:16 267
原创 Leetcode刷题114-66. 加一(C++最简单实现详细解法!!!)
Come from : [https://leetcode-cn.com/problems/plus-one/submissions/]66. Plus One1.Question2.Answer3.大神解答4.我的收获1.QuestionGiven a non-empty array of digits representing a non-negative integer, plus...
2019-07-04 21:28:56 263
原创 Leetcode刷题112-69. x的平方根(C++详细解法!!!)
Come from : [https://leetcode-cn.com/problems/sqrtx/]69. Sqrt[x]1.Question2.Answer3.大神解答4.我的收获1.QuestionImplement int sqrt(int x).Compute and return the square root of x, where x is guaranteed t...
2019-07-02 21:41:55 365 1
原创 Leetcode刷题111-350. 两个数组的交集Ⅱ(C++详细解法!!!)
Come from : [https://leetcode-cn.com/problems/intersection-of-two-arrays-ii/submissions/]350. Intersection of Two Arrays II1.Question2.Answer3.大神解答4.我的收获1.QuestionGiven two arrays, write a functio...
2019-07-01 21:20:53 214
原创 Leetcode刷题103-232. 用栈实现队列(C++详细解法!!!)
Come from : [https://leetcode-cn.com/problems/implement-stack-using-queues/submissions/]232. Implement Queue using Stacks1.Question2.Answer3.我的收获1.QuestionImplement the following operations of a q...
2019-06-18 20:31:42 173
原创 Leetcode刷题102-155. 最小栈(C++详细解法!!!)
Come from : [https://leetcode-cn.com/problems/min-stack/]155. Min Stack1.Question2.Answer3.我的收获1.QuestionDesign a stack that supports push, pop, top, and retrieving the minimum element in constant...
2019-06-17 20:57:44 224
原创 Leetcode刷题101-225. 用队列实现栈(C++详细解法!!!)
Come from : [https://leetcode-cn.com/problems/implement-stack-using-queues/submissions/]225. Implement Stack using Queues1.Question2.Answer3.我的收获1.QuestionImplement the following operations of a s...
2019-06-16 21:17:38 191
原创 Leetcode刷题100-45. 跳跃游戏 II (C++详细解法!!!)
Come from : [https://leetcode-cn.com/problems/jump-game-ii/]45. Jump Game II1.Question2.Answer3.大神的算法4.我的收获1.QuestionGiven an array of non-negative integers, you are initially positioned at the fi...
2019-06-12 21:51:01 508
原创 Leetcode刷题99-55. 跳跃游戏(C++详细解法!!!)
Come from : [https://leetcode-cn.com/problems/jump-game/]55. Jump Game1.Question2.Answer3.大神的算法4.我的收获1.QuestionGiven an array of non-negative integers, you are initially positioned at the first in...
2019-06-11 21:58:05 361
原创 Leetcode刷题98-402. 移掉K位数字(C++详细解法!!!)
Come from : [https://leetcode-cn.com/problems/remove-k-digits/]402. Remove K Digits1.Question2.Answer3.大神的算法4.我的收获1.QuestionGiven a non-negative integer num represented as a string, remove k digit...
2019-06-10 22:16:36 443
原创 Leetcode刷题97-376. 摆动序列(C++详细解法!!!)
Come from : [https://leetcode-cn.com/problems/assign-cookies/]120. Triangle1.Question2.Answer3.我的收获1.QuestionAssume you are an awesome parent and want to give your children some cookies. But, you ...
2019-06-08 21:37:16 426
原创 Leetcode刷题96-455. 分发饼干(C++详细解法!!!)
Come from : [https://leetcode-cn.com/problems/assign-cookies/]120. Triangle1.Question2.Answer3.我的收获1.QuestionAssume you are an awesome parent and want to give your children some cookies. But, you ...
2019-06-07 22:20:45 391
原创 Leetcode刷题94-120. 三角形最小路径和(C++详细解法!!!)
Come from : [https://leetcode-cn.com/problems/longest-common-prefix/]14. Longest Common Prefix1.Question2.Answer3.我的收获1.QuestionWrite a function to find the longest common prefix string amongst an...
2019-06-05 21:33:23 156
原创 Leetcode刷题93-14. 最长公共前缀(C++详细解法!!!)
Come from : [https://leetcode-cn.com/problems/longest-common-prefix/]14. Longest Common Prefix1.Question2.Answer3.我的收获1.QuestionWrite a function to find the longest common prefix string amongst an...
2019-06-04 15:34:14 330
原创 Leetcode刷题91-53. 最大子序和(C++详细解法!!!)
Come from : [https://leetcode-cn.com/problems/maximum-subarray/]53. Maximum Subarray1.Question2.Answer3.我的收获1.QuestionGiven an integer array nums, find the contiguous subarray (containing at least...
2019-06-03 09:40:17 214
原创 Leetcode刷题89-70. 爬楼梯(C++详细解法!!!)
Come from : [https://leetcode-cn.com/problems/climbing-stairs/]70. Climbing Stairs1.Question2.Answer3.我的收获1.QuestionYou are climbing a stair case. It takes n steps to reach to the top.Each time y...
2019-05-28 21:32:17 349
原创 Leetcode刷题86-409. 最长回文串(C++详细解法!!!)
Come from : [https://leetcode-cn.com/problems/longest-palindrome/]409. Longest Palindrome1.Question2.Answer3.大神们的解决方案4.我的收获1.QuestionGiven a string which consists of lowercase or uppercase letters...
2019-05-25 21:55:29 200
原创 Leetcode刷题85-191. 位1的个数(C++详细解法!!!)
Come from : [https://leetcode-cn.com/problems/number-of-1-bits/]191. Number of 1 Bits1.Question2.Answer3.大神们的解决方案4.我的收获1.QuestionWrite a function that takes an unsigned integer and return the numb...
2019-05-24 21:58:48 183
原创 Leetcode刷题84-908. 最小差值 I(C++详细解法!!!)
Come from : [https://leetcode-cn.com/problems/smallest-range-i/submissions/]908. Smallest Range I1.Question2.Answer3.大神们的解决方案4.我的收获1.QuestionGiven an array A of integers, for each integer A[i] we ...
2019-05-23 19:59:31 221
原创 Leetcode刷题83-643. 子数组最大平均数 I(C++详细解法!!!)
Come from : [https://leetcode-cn.com/problems/maximum-average-subarray-i/]643. Maximum Average Subarray I1.Question2.Answer3.大神们的解决方案4.我的收获1.QuestionGiven an array consisting of n integers, find t...
2019-05-20 21:21:03 270
原创 Leetcode刷题82-551. 学生出勤记录 I(C++详细解法!!!)
Come from : [https://leetcode-cn.com/problems/student-attendance-record-i/]551. Student Attendance Record I1.Question2.Answer3.大神们的解决方案4.我的收获1.QuestionYou are given a string representing an attend...
2019-05-19 21:25:47 506
转载 MATLAB错误使用 figure 设置 Figure 的 'Number' 属性时: 值必须是双精度标量或空矩阵
1.问题描述:这几天 在跑 目标跟踪的 matlab 代码时候,遇到这种情况:MATLAB错误使用figure设置 Figure 的 ‘Number’ 属性时:值必须是双精度标量或空矩阵2.解决方案:将 ‘Number’ 替换成 ‘UserData’ 即可。...
2019-05-18 15:02:25 3504 1
原创 Leetcode刷题81-383. 赎金信(C++详细解法!!!)
Come from : [https://leetcode-cn.com/problems/ransom-note/]383. Ransom Note1.Question2.Answer3.大神们的解决方案4.我的收获1.QuestionGiven an arbitrary ransom note string and another string containing letters f...
2019-05-18 14:52:49 402
原创 Leetcode刷题80-628. 三个数的最大乘积(C++详细解法!!!)
Come from : [https://leetcode-cn.com/problems/maximum-product-of-three-numbers/]628. Maximum Product of Three Numbers1.Question2.Answer3.大神们的解决方案4.我的收获1.QuestionGiven an integer array, find three ...
2019-05-16 20:23:52 257
原创 Leetcode刷题79-697. 数组的度(C++详细解法!!!)
Come from : [https://leetcode-cn.com/problems/degree-of-an-array/]697. Degree of an Array1.Question2.Answer3.大神们的解决方案4.我的收获1.QuestionGiven a non-empty array of non-negative integers nums, the degr...
2019-05-15 19:56:03 262
原创 Leetcode刷题78-520. 检测大写字母(C++详细解法!!!)
Come from : [https://leetcode-cn.com/problems/detect-capital/]520. Detect Capital1.Question2.Answer3.大神们的解决方案4.我的收获1.QuestionGiven a word, you need to judge whether the usage of capitals in it is ...
2019-05-14 22:12:13 294
原创 Leetcode刷题77-888. 公平的糖果交换(C++详细解法!!!)
Come from : [https://leetcode-cn.com/problems/fair-candy-swap/]888. Fair Candy Swap1.Question2.Answer3.大神们的解决方案4.我的收获1.QuestionAlice and Bob have candy bars of different sizes: A[i] is the size of...
2019-05-13 21:42:20 348
原创 Leetcode刷题76-1033. 移动石子直到连续(C++详细解法!!!)
Come from : [https://leetcode-cn.com/problems/moving-stones-until-consecutive/]1033. Moving Stones Until Consecutive1.Question2.Answer3.大神们的解决方案4.我的收获1.QuestionThree stones are on a number line at...
2019-05-11 20:02:38 331
原创 Leetcode刷题75-896. 单调数列(C++详细解法!!!)
Come from : [https://leetcode-cn.com/problems/monotonic-array/]896. Monotonic Array1.Question2.Answer3.大神们的解决方案4.我的收获1.QuestionAn array is monotonic if it is either monotone increasing or monotone...
2019-05-10 21:21:46 339
原创 Leetcode刷题74-283. 移动零(C++详细解法!!!)
Come from : [https://leetcode-cn.com/problems/move-zeroes/]283. Move Zeroes1.Question2.Answer3.大神们的解决方案4.我的收获1.QuestionGiven an array nums, write a function to move all 0’s to the end of it while ...
2019-05-09 20:35:27 220
原创 Leetcode刷题72-448. 找到所有数组中消失的数字(C++详细解法!!!)
Come from : [https://leetcode-cn.com/problems/find-all-numbers-disappeared-in-an-array/]448. Find All Numbers Disappeared in an Array1.Question2.Answer3.大神们的解决方案4.我的收获1.QuestionGiven an array of i...
2019-05-07 12:13:55 202
aes-cbc-master.rar
2020-07-29
卷积神经网络(CNN)的17篇有影响力的论文题目和创新点介绍
2018-11-29
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人