自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

David_Jett

我要变得很强!!——2017-8-30

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

原创 菜鸡博主的2019年春招实习之旅(已完结)

//因为面试之前都没有提到禁止分享面试经验,故此贴仅作个人记录之用,如需删除,可留言联系我,会尽快删除。【前言】//博主是只菜鸡,本科是浙江工业大学,打了三年acm,只拿了个ccpc铜。然后,保研进了复旦(学硕),研究方向是协同编辑和人机交互的定性研究,做了快两年研究,目前还尚未发表论文。//因为研究做的太花时间了,项目经历几乎为0。本科时候和队友为模具工厂做了个成本核算/模具监控的系...

2019-03-17 22:34:19 1944

原创 【刷leetcode,拿Offer-039】1028. Recover a Tree From Preorder Traversal

题目链接:https://leetcode.com/problems/recover-a-tree-from-preorder-traversal/题面:1028.Recover a Tree From Preorder TraversalHard1625FavoriteShareWe run apreorderdepth first search on theroot...

2019-06-27 20:34:12 315

原创 【刷leetcode,拿Offer-038】1030. Matrix Cells in Distance Order

题目链接:https://leetcode.com/problems/matrix-cells-in-distance-order/题面:1030.Matrix Cells in Distance OrderEasy7240FavoriteShareWe are given a matrix withRrows andCcolumns has cells with i...

2019-06-27 20:21:23 251

原创 【刷leetcode,拿Offer-037】169. Majority Element

题目链接:https://leetcode.com/problems/majority-element/题面:169.Majority ElementEasy1714152FavoriteShareGiven an array of sizen, find the majority element. The majority element is the element t...

2019-06-27 20:16:56 268

原创 【刷leetcode,拿Offer-036】217. Contains Duplicate

题目链接:https://leetcode.com/problems/contains-duplicate/题面:217.Contains DuplicateEasy405524FavoriteShareGiven an array of integers, find if the array contains any duplicates.Your function s...

2019-06-24 20:59:03 193

原创 【刷leetcode,拿Offer-035】242. Valid Anagram

题目链接:https://leetcode.com/problems/valid-anagram/题面:242.Valid AnagramEasy729109FavoriteShareGiven two stringssandt, write a function to determine iftis an anagram ofs.Example 1:...

2019-06-24 20:49:10 177

原创 【刷leetcode,拿Offer-034】78. Subsets

题目链接:https://leetcode.com/problems/subsets/题面:78.SubsetsMedium199151FavoriteShareGiven a set ofdistinctintegers,nums, return all possible subsets (the power set).Note:The solution set...

2019-06-24 20:33:22 157

原创 【刷leetcode,拿Offer-033】283. Move Zeroes

题目链接:https://leetcode.com/problems/move-zeroes/题面:283.Move ZeroesEasy208477FavoriteShareGiven an arraynums, write a function to move all0's to the end of it while maintaining the relative...

2019-06-24 20:13:52 131

原创 【刷leetcode,拿Offer-032】238. Product of Array Except Self

题目链接:题面:238.Product of Array Except SelfMedium2317197FavoriteShareGiven an arraynumsofnintegers wheren> 1, return an arrayoutputsuch thatoutput[i]is equal to the product of al...

2019-06-24 14:09:31 154

原创 【刷leetcode,拿Offer-031】22. Generate Parentheses

题目链接:https://leetcode.com/problems/generate-parentheses/题面:22.Generate ParenthesesMedium2848177FavoriteShareGivennpairs of parentheses, write a function to generate all combinations of we...

2019-06-24 10:44:55 147

原创 【刷leetcode,拿Offer-030】94. Binary Tree Inorder Traversal

题目链接:https://leetcode.com/problems/binary-tree-inorder-traversal/题面:94.Binary Tree Inorder TraversalMedium166372FavoriteShareGiven a binary tree, return theinordertraversal of its nodes' ...

2019-06-23 21:50:37 142

原创 【刷leetcode,拿Offer-029】136. Single Number

题目链接:https://leetcode.com/problems/single-number/题面:136.Single NumberEasy251694FavoriteShareGiven anon-emptyarray of integers, every element appearstwiceexcept for one. Find that single...

2019-06-23 21:45:43 136

原创 【刷leetcode,拿Offer-028】104. Maximum Depth of Binary Tree

题目链接:https://leetcode.com/problems/maximum-depth-of-binary-tree/题面:104.Maximum Depth of Binary TreeEasy135254FavoriteShareGiven a binary tree, find its maximum depth.The maximum depth is ...

2019-06-23 21:42:48 142

原创 【刷leetcode,拿Offer-027】559. Maximum Depth of N-ary Tree

题目链接:https://leetcode.com/problems/maximum-depth-of-n-ary-tree/题面:559.Maximum Depth of N-ary TreeEasy35920FavoriteShareGiven a n-ary tree, find its maximum depth.The maximum depth is the ...

2019-06-23 21:38:26 160

原创 【刷leetcode,拿Offer-026】922. Sort Array By Parity II

题目链接:https://leetcode.com/problems/sort-array-by-parity-ii/题面:922.Sort Array By Parity IIEasy29629FavoriteShareGiven an arrayAof non-negative integers, half of the integers in A are odd, ...

2019-06-22 21:22:50 175

原创 【刷leetcode,拿Offer-025】1078. Occurrences After Bigram

题目链接:https://leetcode.com/problems/occurrences-after-bigram/题面:1078.Occurrences After BigramEasy3138FavoriteShareGiven wordsfirstandsecond, consider occurrences in sometextof the form ...

2019-06-22 21:13:47 242

原创 【刷leetcode,拿Offer-024】589. N-ary Tree Preorder Traversal

题目链接:https://leetcode.com/problems/n-ary-tree-preorder-traversal/题面:589.N-ary Tree Preorder TraversalEasy23135FavoriteShareGiven an n-ary tree, return thepreordertraversal of its nodes' v...

2019-06-22 21:00:58 170

原创 【刷leetcode,拿Offer-023】590. N-ary Tree Postorder Traversal

题目链接:https://leetcode.com/problems/n-ary-tree-postorder-traversal/题面:590.N-ary Tree Postorder TraversalEasy29137FavoriteShareGiven an n-ary tree, return thepostordertraversal of its nodes...

2019-06-22 20:58:10 200

原创 【刷leetcode,拿Offer-022】933. Number of Recent Calls

题目链接:933. Number of Recent Calls题面:933.Number of Recent CallsEasy133647FavoriteShareWrite a classRecentCounterto count recent requests.It has only one method:ping(int t), where t repre...

2019-06-21 21:31:42 169

原创 【刷leetcode,拿Offer-021】763. Partition Labels

题目链接:763. Partition Labels题面:763.Partition LabelsMedium96954FavoriteShareA stringSof lowercase letters is given. We want to partition this string into as many parts as possible so that ea...

2019-06-20 20:55:25 167

原创 【刷leetcode,拿Offer-020】1021. Remove Outermost Parentheses

题目链接:LeetCode 1021题面:1021.Remove Outermost ParenthesesEasy122181FavoriteShareA valid parentheses string is either empty(""),"(" + A + ")", orA + B, whereAandBare valid parentheses st...

2019-06-20 18:51:27 190

原创 【刷leetcode,拿Offer-019】1038. Binary Search Tree to Greater Sum Tree

题目链接:https://leetcode.com/problems/binary-search-tree-to-greater-sum-tree/题面:1038.Binary Search Tree to Greater Sum TreeMedium14918FavoriteShareGiven the root of a binarysearchtree with d...

2019-06-18 21:32:31 202

原创 秋招之旅正式启动!!

1.今日头条提前批(2019.7.?)

2019-06-18 21:24:06 174

原创 数据库第一范式、第二范式、第三范式及BC范式,到底是咋回事?

惭愧,惭愧,不知道以前学的时候搞明白没。俩数据库助教唠半天总算是搞明白了。第一范式【定义】如果一个关系模式R的所有属性都是不可分的基本数据项,则R∈1NF。简单的说,就是每一个列(属性),不能再分割成多个列(属性)。【理解】一范式较好理解,不过多阐述。就是简单地说,属性不能再拆分,比如不能把学生ID和姓名存成一个属性。第二范式【定义】在1NF的基础上,非主属性...

2019-04-23 16:48:08 1900

原创 【刷leetcode,拿Offer-002】682. Baseball Game(模拟)

题目链接 Description: You’re now a baseball game point recorder.Given a list of strings, each string can be one of the 4 following types:Integer (one round’s score): Directly represents the number of poi

2017-11-24 12:29:40 595

原创 【刷leetcode,拿Offer-001】728. Self Dividing Numbers

题目链接题面: A self-dividing number is a number that is divisible by every digit it contains.For example, 128 is a self-dividing number because 128 % 1 == 0, 128 % 2 == 0, and 128 % 8 == 0.Also, a self-div

2017-11-22 21:40:25 824

原创 Dynamo-Amzaon's Highly Available Key-value Store阅读笔记

摘要      亚马逊平台,基于成百上千万,分布于世界各地的服务器和网络组件,为众多网站提供服务。       本文呈现了Dynamo的设计与实现,亚马逊部分核心业务所使用的高度可用的实时在线键值存储系统。在特定的场景下牺牲了一定的一致性来维护可用性,对对象版本,冲突解决做了拓展,为开发者提供了新式的接口。引言Amazon: 高度去中心化,松散耦合(联系紧密却独立),面向服务的架构。 Dyna

2017-11-22 21:37:55 604

原创 anaconda,tensorflow安装

什么是anacondaanaconda指的是一个开源的Python发行版本,其包含了conda、Python等180多个科学包及其依赖项。因为包含了大量的科学包,Anaconda 的下载文件比较大(约 500 MB),如果只需要某些包,或者需要节省带宽或存储空间,也可以使用Miniconda这个较小的发行版(仅包含conda和 Python)。anaconda与Python的关系anaconda里面

2017-11-19 19:24:20 577

原创 【刷leetcode,拿Offer-017】3. Longest Substring Without Repeating Characters(字符串+思维)

3. Longest Substring Without Repeating CharactersDescription: Given a string, find the length of the longest substring without repeating characters.Examples: Given “abcabcbb”, the answer is “abc”, wh

2017-11-18 13:16:45 419 2

原创 Git学习记录

Git学习记录Git学习记录一Git是什么二SVN和Git的区别SVNGit三Git和GitHub的关系四安装Git五基本操作创建版本库把文件添加到版本库版本回退工作区与暂存区的区别撤销修改删除文件六远程仓库七创建与合并分支八bug分支九多人协作十常用指令参考资料一、Git是什么Git是目前世界上最先进的分布式版本控制系统。二、SVN和Git的区别SVNSVN是

2017-11-17 16:20:08 316

原创 【刷leetcode,拿Offer-018】2. Add Two Numbers

题目链接题面:2. Add Two NumbersDescriptionHintsSubmissionsDiscussSolutionDiscussPick OneYou are given twonon-emptylinked lists representing two non-negative integers. The digits are sto...

2017-10-25 18:41:38 582

原创 【刷leetcode,拿Offer-011】503. Next Greater Element II

题目链接题面:Add to List503. Next Greater Element IIDescriptionHintsSubmissionsDiscussSolutionDiscussPick OneGiven a circular array (the next element of the last element is the first...

2017-10-21 13:50:05 707

原创 【刷leetcode,拿Offer-013】496. Next Greater Element I(栈应用)

题目链接题面:Add to List496. Next Greater Element IDescriptionHintsSubmissionsDiscussSolutionDiscussPick OneYou are given two arrays(without duplicates)nums1andnums2wherenums1’...

2017-10-21 10:38:59 366

原创 KNN简单实现

KNN(K nearest neighbor Algorithm)原理:取距离上训练数据上最近的K个点的均值作为估计值。简单实现://A general realization of K nearest neighbors Algorithm#include #include #include #include using namespace std; struct ob

2017-10-15 21:20:15 334

原创 【刷leetcode,拿Offer-005】665. Non-decreasing Array

题目链接题面:Add to List665. Non-decreasing ArrayDescriptionHintsSubmissionsDiscussSolutionDiscussPick OneGiven an array withnintegers, your task is to check if it could become non...

2017-10-12 17:01:09 610

转载 What are Neuro-Fuzzy Systems?(转载)

Text Link/原文链接What are Neuro-Fuzzy Systems?A neuro-fuzzy system is a fuzzy system that uses a learning algorithm derived from or inspired by neural network theory to determine its parameters

2017-09-09 11:14:07 1292

原创 奥卡姆剃刀原理

奥卡姆剃刀定律(Occam's Razor, Ockham's Razor)又称“奥康的剃刀”,它是由14世纪逻辑学家、圣方济各会修士奥卡姆的威廉(William of Occam,约1285年至1349年)提出。这个原理称为“如无必要,勿增实体”,即“简单有效原理”。正如他在《箴言书注》2卷15题说“切勿浪费较多东西去做,用较少的东西,同样可以做好的事情。”(百度百科)        原

2017-08-30 14:11:39 13133

原创 LeetCode——344. Reverse String(字符串反转)

题目链接题目:344. Reverse StringDescriptionHintsSubmissionsDiscussSolutionDiscussPick OneWrite a function that takes a string as input and retur

2017-08-26 17:11:36 469

原创 【刷leetcode,拿Offer-008】575. Distribute Candies(贪心)

题目链接题面:575. Distribute CandiesDescriptionHintsSubmissionsDiscussSolutionDiscussPick OneGiven an integer array withevenlength, where different numbers in this array represent differen...

2017-08-25 11:11:09 677

原创 【刷leetcode,拿Offer-010】557. Reverse Words in a String III

题目链接题面:557. Reverse Words in a String IIIDescriptionHintsSubmissionsDiscussSolutionDiscussPick OneGiven a string, you need to reverse the order of characters in each word within a s...

2017-08-21 20:18:28 717

acm入门课件及代码

极为简单的acm入门资料,还附赠一些入门题的代码!!

2014-08-09

空空如也

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

TA关注的人

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