自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

从此做一个俗人

欢迎热爱AI的朋友

  • 博客(32)
  • 资源 (1)
  • 收藏
  • 关注

原创 leetcode python3 简单题122. Best Time to Buy and Sell Stock II

1.编辑器我使用的是win10+vscode+leetcode+python3环境配置参见我的博客:链接2.第一百二十一题(1)题目英文:Say you have an array for which the ith element is the price of a given stock on day i.If you were only permitted to comple...

2020-04-28 17:19:27 196

原创 leetcode python3 简单题121. Best Time to Buy and Sell Stock

1.编辑器我使用的是win10+vscode+leetcode+python3环境配置参见我的博客:链接2.第一百二十一题(1)题目英文:Say you have an array for which the ith element is the price of a given stock on day i.If you were only permitted to comple...

2020-04-28 14:38:48 186

原创 leetcode python3 简单题119. Pascal's Triangle II

1.编辑器我使用的是win10+vscode+leetcode+python3环境配置参见我的博客:链接2.第一百一十九题(1)题目英文:Given a non-negative index k where k ≤ 33, return the kth index row of the Pascal’s triangle.Note that the row index starts...

2020-04-28 12:51:47 156

原创 leetcode python3 简单题118. Pascal's Triangle

1.编辑器我使用的是win10+vscode+leetcode+python3环境配置参见我的博客:链接2.第一百一十八题(1)题目英文:Given a non-negative integer numRows, generate the first numRows of Pascal’s triangle.In Pascal’s triangle, each number is ...

2020-04-28 12:27:09 187

原创 leetcode python3 简单题112. Path Sum

1.编辑器我使用的是win10+vscode+leetcode+python3环境配置参见我的博客:链接2.第一百一十二题(1)题目英文:Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the pa...

2020-04-27 23:05:45 147

原创 leetcode python3 简单题111. Minimum Depth of Binary Tree

1.编辑器我使用的是win10+vscode+leetcode+python3环境配置参见我的博客:链接2.第一百一十一题(1)题目英文:Given a binary tree, find its minimum depth.The minimum depth is the number of nodes along the shortest path from the root ...

2020-04-27 15:28:53 188

原创 leetcode python3 简单题110. Balanced Binary Tree

1.编辑器我使用的是win10+vscode+leetcode+python3环境配置参见我的博客:链接2.第一百一十题(1)题目英文:Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as:a bin...

2020-04-27 15:17:27 186

原创 leetcode python3 简单题108. Convert Sorted Array to Binary Search Tree

1.编辑器我使用的是win10+vscode+leetcode+python3环境配置参见我的博客:链接2.第一百零八题(1)题目英文:Given an array where elements are sorted in ascending order, convert it to a height balanced BST.For this problem, a height-...

2020-04-27 11:58:39 189

原创 leetcode python3 简单题122. Best Time to Buy and Sell Stock II

1.编辑器我使用的是win10+vscode+leetcode+python3环境配置参见我的博客:链接2.第一百零七题(1)题目英文:Given a binary tree, return the bottom-up level order traversal of its nodes’ values. (ie, from left to right, level by level...

2020-04-26 23:51:58 123

原创 leetcode python3 简单题104. Maximum Depth of Binary Tree

1.编辑器我使用的是win10+vscode+leetcode+python3环境配置参见我的博客:链接2.第一百零死题(1)题目英文:Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root no...

2020-04-26 17:03:05 181

原创 leetcode python3 简单题101. Symmetric Tree

1.编辑器我使用的是win10+vscode+leetcode+python3环境配置参见我的博客:链接2.第一百零一题(1)题目英文:Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).中文:给定一个二叉树,检查它是否是镜像对称的。来源:力扣...

2020-04-25 23:06:05 186

原创 leetcode python3 简单题100. Same Tree

1.编辑器我使用的是win10+vscode+leetcode+python3环境配置参见我的博客:链接2.第一百题(1)题目英文:Given two binary trees, write a function to check if they are the same or not.Two binary trees are considered the same if they...

2020-04-25 22:24:58 165

原创 leetcode python3 简单题88. Merge Sorted Array

1.编辑器我使用的是win10+vscode+leetcode+python3环境配置参见我的博客:链接2.第八十八题(1)题目英文:Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array.Note:The number of elements init...

2020-04-25 17:22:02 216

原创 leetcode python3 简单题83. Remove Duplicates from Sorted List

1.编辑器我使用的是win10+vscode+leetcode+python3环境配置参见我的博客:链接2.第八十三题(1)题目英文:Given a sorted linked list, delete all duplicates such that each element appear only once.中文:给定一个排序链表,删除所有重复的元素,使得每个元素只出现一次。...

2020-04-25 13:30:41 147

原创 leetcode python3 简单题70. Climbing Stairs

1.编辑器我使用的是win10+vscode+leetcode+python3环境配置参见我的博客:链接2.第七十题(1)题目英文:You are climbing a stair case. It takes n steps to reach to the top.Each time you can either climb 1 or 2 steps. In how many d...

2020-04-24 17:41:56 175

原创 leetcode python3 简单题69. Sqrt(x)

1.编辑器我使用的是win10+vscode+leetcode+python3环境配置参见我的博客:链接2.第六十九题(1)题目英文:Implement int sqrt(int x).Compute and return the square root of x, where x is guaranteed to be a non-negative integer.Since ...

2020-04-24 14:28:02 293

原创 leetcode python3 简单题67. Add Binary

1.编辑器我使用的是win10+vscode+leetcode+python3环境配置参见我的博客:链接2.第六十七题(1)题目英文:Given two binary strings, return their sum (also a binary string).The input strings are both non-empty and contains only char...

2020-04-24 13:21:56 266

原创 leetcode python3 简单题66. Plus One

1.编辑器我使用的是win10+vscode+leetcode+python3环境配置参见我的博客:链接2.第六十六题(1)题目英文:Given a non-empty array of digits representing a non-negative integer, plus one to the integer.The digits are stored such tha...

2020-04-24 11:38:46 232

原创 leetcode python3 简单题53. Maximum Subarray

1.编辑器我使用的是win10+vscode+leetcode+python3环境配置参见我的博客:链接2.第五十三题(1)题目英文:Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and retur...

2020-04-24 10:45:32 219

原创 leetcode python3 简单题58. Length of Last Word

1.编辑器我使用的是win10+vscode+leetcode+python3环境配置参见我的博客:链接2.第五十八题(1)题目英文:Given a string s consists of upper/lower-case alphabets and empty space characters ’ ', return the length of last word (last w...

2020-04-24 10:45:08 219

原创 leetcode python3 简单题38. Count and Say

1.编辑器我使用的是win10+vscode+leetcode+python3环境配置参见我的博客:链接2.第三十八题(1)题目英文:Given an integer n where 1 ≤ n ≤ 30, generate the nth term of the count-and-say sequence. You can do so recursively, in other ...

2020-04-23 14:20:20 191

原创 leetcode python3 简单题35. Search Insert Position

1.编辑器我使用的是win10+vscode+leetcode+python3环境配置参见我的博客:链接2.第三十五题(1)题目英文:Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be i...

2020-04-23 13:08:58 213

原创 leetcode python3 简单题28. Implement strStr()

1.编辑器我使用的是win10+vscode+leetcode+python3环境配置参见我的博客:链接2.第二十八题(1)题目英文:Implement strStr().Return the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.中...

2020-04-23 11:28:59 178

原创 leetcode python3 简单题27. Remove Element

1.编辑器我使用的是win10+vscode+leetcode+python3环境配置参见我的博客:链接2.第二十七题(1)题目英文:Given an array nums and a value val, remove all instances of that value in-place and return the new length.Do not allocate ex...

2020-04-23 11:04:21 294

原创 leetcode python3 简单题26. Remove Duplicates from Sorted Array

1.编辑器我使用的是win10+vscode+leetcode+python3环境配置参见我的博客:链接2.第二十六题(1)题目英文:Given a sorted array nums, remove the duplicates in-place such that each element appear only once and return the new length.D...

2020-04-23 09:05:49 145

原创 leetcode python3 简单题21. Merge Two Sorted Lists(Linked)

1.编辑器我使用的是win10+vscode+leetcode+python3环境配置参见我的博客:链接2.第二十一题(1)题目英文: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 f...

2020-04-22 21:29:02 175

原创 leetcode python3 简单题20. Valid Parentheses

1.编辑器我使用的是win10+vscode+leetcode+python3环境配置参见我的博客:链接2.第二十题(1)题目英文:Given a string containing just the characters ‘(’, ‘)’, ‘{’, ‘}’, ‘[’ and ‘]’, determine if the input string is valid.An input...

2020-04-22 13:56:17 219

原创 leetcode python3 简单题14. Longest Common Prefix

1.编辑器我使用的是win10+vscode+leetcode+python3环境配置参见我的博客:链接2.第一题(1)题目英文:Write a function to find the longest common prefix string amongst an array of strings.If there is no common prefix, return an e...

2020-04-22 11:49:49 230

原创 leetcode python3 简单题13. Roman to Integer

1.编辑器我使用的是win10+vscode+leetcode+python3环境配置参见我的博客:链接2.第十三题(1)题目英文:Given a roman numeral, convert it to an integer. Input is guaranteed to be within the range from 1 to 3999.中文:给定一个罗马数字,将其转换成整...

2020-04-21 23:39:19 213

原创 leetcode python3 简单题9. Palindrome Number

1.编辑器我使用的是win10+vscode+leetcode+python3环境配置参见我的博客:链接2.第九题(1)题目英文:Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward.中文:判断一个整数是...

2020-04-21 15:50:03 128

原创 leetcode python3 简单题7.Reverse integer

1.编辑器我使用的是win10+vscode+leetcode+python3环境配置参见我的博客:链接2.第七题(1)题目英文:Given a 32-bit signed integer, reverse digits of an integer.中文:给出一个 32 位的有符号整数,你需要将这个整数中每位上的数字进行反转。(2)解法(耗时:40ms,内存:13.6M)cl...

2020-04-21 15:07:16 183

原创 leetcode python3 简单题1.Two Sum

1.编辑器我使用的是win10+vscode+leetcode+python3环境配置参见我的博客:链接2.第一题(1)题目英文:Given an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that ea...

2020-04-21 14:47:39 1090 1

相关向量机RVM_MATLAB

相关向量机RVM_MATLAB,有代码注释的

2018-09-16

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除