240 发简信
IP属地:浙江
  • 链表重排序

    题目要求:对于链表如L1->L2->L3->L4->L5->L6->L7重新排列为L1->L7->L2->L6->L3->L5->L4 解题1.先将先找到中间节点,将链表从中...

  • 链表相加

    对于链表中的每个节点依此相加,同时记录节点相加后的进位情况 主要有以下两种情况 1.链表一样长的情况 2.链表不一样长的情况,需要处理计算完成后剩余节点 我采用产生一个新的链...

  • 22. Generate Parentheses

    Givennpairs of parentheses, write a function to generate all combinations of well-forme...

  • 2018-11-10

    147.Insertion Sort List Sort a linked list using insertion sort. A graphical example of...

  • 2018-11-09

    leetcode 876. Middle of the Linked List Given a non-empty, singlylinked list with head ...

  • 2018-11-08

    leetcode 38.Count and Say The count-and-say sequence is the sequence of integers with t...

  • 笔者真棒👍

    2018-11-07

    leetcode 67. Add Binary Given two binary strings, return their sum (also a binary strin...

  • 120
    2018-11-07

    leetcode 67. Add Binary Given two binary strings, return their sum (also a binary strin...

  • 2018-11-06

    leetcode 268.Missing Number 题目描述: Given an array containingndistinct numbers taken from...