![240](https://upload.jianshu.io/users/upload_avatars/25976510/f8ed03dc-e769-41b2-9580-35fe0743a13c.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/240/h/240)
IP属地:北京
1. Valid PalindromeII Given a string s, return true if the s can be pali...
好久没写了,稍微补点- - 1. Maximum Subarray Given an integer array nums, find the ...
1.回溯法的主体结构 回溯出口,当找到了一个问题的解时,存储该解。 回溯主体,遍历当前状态的所有子节点(通常使用一个for循环),并判断下一个状...
1. Best Time to Buy and Sell Stock 首先是一道ez题,用到了一点DP的思想。 2. Product of Ar...
19. Remove Nth Node From End of List 教你如何巧妙地使用双指针,我自己用的还是不够灵活啊 里面有个关于单向链...
这题这种解法值得细品,想出来的人真的沾点天才了。。。我自己的笨方法还跑不通,接来下还得去调调看。 废话不多说,直接上代码。 emm等下看能不能把...
一次成功的mergesort,还是挺开心的 光速撸完,直接跑通,舒服~
linked list题目做几道之后发现确实玩不出什么花样来,这道题虽然说是medium,但难度我个人觉得还是挺低的。。首先上个本菜鸡直来直去脑...
Description One of the basic structures in algorithm which can be used t...