自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(24)
  • 资源 (7)
  • 收藏
  • 关注

原创 34. Find First and Last Position of Element in Sorted Array

34.Find First and Last Position of Element in Sorted ArrayMedium2152100FavoriteShareGiven an array of integersnumssorted in ascending order, find the starting and ending position of a give...

2019-10-30 17:03:08 101

原创 33. Search in Rotated Sorted Array

33.Search in Rotated Sorted ArrayMedium3137371FavoriteShareSuppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand.(i.e.,[0,1,2,4,5,6,7]might become...

2019-10-29 19:14:51 80

原创 32. Longest Valid Parentheses

32. Longest Valid ParenthesesHardGiven a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring.Example 1:Input: "(()"...

2019-10-29 12:45:28 70

原创 31. Next Permutation

31. Next PermutationMediumImplement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers.If such arrangement is not possible, it must rear...

2019-10-29 09:54:36 73

原创 23. Merge k Sorted Lists

23. Merge k Sorted ListsHardMerge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity.Example:Input:[ 1->4->5, 1->3->4, 2->6]...

2019-10-28 21:56:37 71

原创 22. Generate Parentheses

22. Generate ParenthesesMediumGiven n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, given n = 3, a solution set is:[ "((()))...

2019-10-28 18:24:00 55

原创 21. Merge Two Sorted Lists

21. Merge Two Sorted ListsEasyMerge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.Example:Input: 1-...

2019-10-28 16:26:10 56

原创 20. Valid Parentheses

20. Valid ParenthesesEasyGiven a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.An input string is valid if:Open brackets must...

2019-10-28 15:49:32 58

原创 19. Remove Nth Node From End of List

19. Remove Nth Node From End of ListMediumGiven a linked list, remove the n-th node from the end of list and return its head.Example:Given linked list: 1->2->3->4->5, and n = 2...

2019-10-28 14:48:44 72

原创 17. Letter Combinations of a Phone Number

Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telephone buttons) is ...

2019-10-28 13:57:54 102

原创 15. 3Sum

15.3SumMedium4733562FavoriteShareGiven an arraynumsofnintegers, are there elementsa,b,cinnumssuch thata+b+c= 0? Find all unique triplets in the array which gives the sum of z...

2019-10-24 14:39:49 114

原创 11. Container With Most Water

11.Container With Most WaterMedium4127482FavoriteShareGivennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai).nvertical lines are drawn such that th...

2019-10-24 12:19:42 92

原创 10. Regular Expression Matching

10.Regular Expression MatchingHard3194594FavoriteShareGiven an input string (s) and a pattern (p), implement regular expression matching with support for'.'and'*'.'.' Matches any single c...

2019-10-23 18:50:13 86

原创 7. Reverse Integer

7. Reverse IntegerEasyGiven a 32-bit signed integer, reverse digits of an integer.Example 1:Input: 123Output: 321Example 2:Input: -123Output: -321Example 3:Input: 120Output: 21...

2019-10-22 09:45:04 55

原创 6. ZigZag Conversion

6. ZigZag ConversionMediumThe 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 fixed font for better legibilit...

2019-10-21 17:49:27 66

原创 5. Longest Palindromic Substring

5. Longest Palindromic SubstringMediumGiven a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000.Example 1:Input: "babad"Output: "bab"...

2019-10-20 19:50:06 56

原创 4. Median of Two Sorted Arrays

4. Median of Two Sorted ArraysHardThere are two sorted arrays nums1 and nums2 of size m and n respectively.Find the median of the two sorted arrays. The overall run time complexity should be O(l...

2019-10-19 17:01:40 73

原创 git本地和远程仓库内容的同步

1、关联,在本地git命令窗口输入:git remote add origin git@github.com:你的repository名字/名字.gitgit push -u origin master2、本地修改文件之后在命令窗口输入以下命令以同步到远程仓库:(1)添加修改记录git add -A 提交所有变化git add -u 提交被修改(modified)和被删除(de...

2019-10-18 16:58:31 423

原创 3. Longest Substring Without Repeating Characters

附上后两种方法的参考链接3. Longest Substring Without Repeating CharactersMediumGiven a string, find the length of the longest substring without repeating characters.Example 1:Input: "abcabcbb"Output: ...

2019-10-18 13:58:04 70

原创 2. Add Two Numbers

2. Add Two NumbersMediumYou are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add ...

2019-10-18 13:06:08 59

原创 opencv/python标定时用到的几个函数意义

①criteria:迭代停止的模式选择,这是一个含有三个元素的元组型数。格式为(type,max_iter,epsilon)其中,type又有两种选择:—–cv2.TERM_CRITERIA_EPS :精确度(误差)满足epsilon停止。—- cv2.TERM_CRITERIA_MAX_ITER:迭代次数超过max_iter停止。—-cv2.TERM_CRITERIA_EPS+cv2.T...

2019-10-17 19:55:43 963

原创 C++后台服务器开发/网络编程学习路线

Module01 - Linux系统基础 由于本系列课程基于Linux(或UNIX),熟悉Linux操作系统是必要的前提。 该模块的课程包含以下方面的内容:常用Unix/Linux命令 熟悉文件管理、文本处理、进程管理、网络、系统管理等各个方面大约100个常用的命令。 深入了解bash 了解Linux默认shell: bash 的语法、命令执行、I/O重定向、任务控制等。...

2019-10-12 09:44:18 2337 1

原创 处理并补全缺失值和类型变量的方法

缺失值补全和变换1、首先导入数据,然后进行变量的类型处理df_tr = train.drop('Id',axis=1)df_X = df_tr.drop('SalePrice',axis=1)df_y = df_tr['SalePrice']quantity = [attr for attr in df_X.columns if df_X.dtypes[attr] != 'obje...

2019-10-09 16:25:29 2798

原创 window10平台/anaconda虚拟环境中安装xgboost

做kaggle上面的项目用到了xgboost,一开始像往常一样在anaconda navigator上直接搜索xgboost想要直接安装,但是只搜到py-xgboost,以为这个就是真实的xgboost,装上之后运行发现会报错,才意识到这个并不是我所找的xgboost,然后就在网上找教程,参考了这篇教程,首先下载对应的xgboost版本,博主电脑是64位(这个可以自行查找),然后anacond...

2019-10-08 16:09:10 347

train_model_meigandu.rar

自己训练的pspnet模型和相关代码,其中主要是关于图片的语义分割模型和最终的cpu上跑的xgb模型

2020-05-22

meigan_model.rar

三个模型的预训练模型,主要用于自己博客代码的方便调用,这个博客里的代码是私密的,所以不会传播出去,希望可以通过审核

2020-04-13

xgboost-0.90-cp36-cp36m-win_amd64.whl

用于实现机器学习的各种模型,调用安装包,配备本篇文章的步骤进行安装即可

2019-10-08

knn解答过程和其中三个question的答案

打开网页之后可以看到整个解题流程,附加三个inline question的答案,另外没有将两层循环、一层循环和无循环的代码贴上去,都比较简单,读者可以自己网上找这三个程序的代码

2019-09-23

Manuscript.pdf

脑机文章,主要介绍脑电信号控制机器人的相关技术和实现方法,同时再看一些其他文章用以学习

2019-08-01

柯西_施瓦茨不等式证明

主要对高等数学中的柯西施瓦茨不等式进行讲解证明过程以及用法

2018-08-20

解决140.dll缺失问题

VCRUNTIME140.dll和MSVCRP140.dll缺失问题的解决,可以在官网下载,也可以在这里下载

2018-07-26

空空如也

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

TA关注的人

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