240 发简信
IP属地:北京
  • Valid Palindrome II / Group Anagrams / Add String & Add Binary / String Matching in an Array

    1. Valid PalindromeII Given a string s, return true if the s can be pali...

  • Maximum Subarray/ Reorganize String

    好久没写了,稍微补点- - 1. Maximum Subarray Given an integer array nums, find the ...

  • 回溯法(backtracking)小结

    1.回溯法的主体结构 回溯出口,当找到了一个问题的解时,存储该解。 回溯主体,遍历当前状态的所有子节点(通常使用一个for循环),并判断下一个状...

  • 2021-04-09

    1. Best Time to Buy and Sell Stock 首先是一道ez题,用到了一点DP的思想。 2. Product of Ar...

  • 2021-04-06

    19. Remove Nth Node From End of List 教你如何巧妙地使用双指针,我自己用的还是不够灵活啊 里面有个关于单向链...

  • Copy List with Random Pointer

    这题这种解法值得细品,想出来的人真的沾点天才了。。。我自己的笨方法还跑不通,接来下还得去调调看。 废话不多说,直接上代码。 emm等下看能不能把...

  • Sort List

    一次成功的mergesort,还是挺开心的 光速撸完,直接跑通,舒服~

  • 2. Add Two Numbers

    linked list题目做几道之后发现确实玩不出什么花样来,这道题虽然说是medium,但难度我个人觉得还是挺低的。。首先上个本菜鸡直来直去脑...

  • 关于Linked List题目的总结(搬运)

    Description One of the basic structures in algorithm which can be used t...

个人介绍
这个残酷而美丽的世界啊 ..