博客专栏  >  综合   >  MyLeetcode

MyLeetcode

1. 用自己的思维和代码 2. 扩散,举一反三

关注
0 已关注
42篇博文
  • Excel Sheet Column Title

    Given a positive integer, return its corresponding column title as appear in an Excel sheet. For ...

    2015-01-03 21:16
    1195
  • Excel Sheet Column Number

    Related to question Excel Sheet Column Title Given a column title as appear in an Excel sheet, retu...

    2015-01-03 21:22
    737
  • Factorial Trailing Zeroes

    Given an integer n, return the number of trailing zeroes in n!. Note: Your solution should be in ...

    2015-01-03 17:57
    938
  • Merge Two Sorted Lists

    Merge Two Sorted Lists  Total Accepted: 4404 Total Submissions: 13615My Submissions Merg...

    2013-12-13 11:25
    552
  • Remove Nth Node From End of List

    Given a linked list, remove the nth node from the end of list and return its head. For example, ...

    2013-12-13 10:48
    531
  • Remove Element

    Given an array and a value, remove all instances of that value in place and return the new length. ...

    2013-12-13 07:11
    559
  • Remove Duplicates from Sorted List

    Given a sorted linked list, delete all duplicates such that each element appear only once. For ex...

    2013-12-13 06:52
    569
  • Add Two Numbers

    You are given two linked lists representing two non-negative numbers. The digits are stored in rever...

    2013-12-13 06:40
    544
  • Linked List Cycle

    一次AC Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it wi...

    2013-12-11 11:51
    569
  • Rome to Intger

    一次AC 关键是读懂题意 记数方法 基本字符 I V X L C D ...

    2013-12-11 02:47
    712
  • Swap Nodes in Pairs

    Given a linked list, swap every two adjacent nodes and return its head. For example, Given 1->2-...

    2013-12-11 02:01
    708
  • Length of Last Word

    Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the ...

    2013-12-10 23:56
    614
  • leetcode开篇

    受猛人鼓舞, 开始leetcode之路.时间暂定三月.向者耕耘于杭电,北大acm .奈何题量浩繁,种类各异,良莠不齐.加之无人指点,好似永无止境,致锐气尽脱,心灰意懒.    leetcode题量适中...

    2013-12-10 18:21
    953
  • Binary Tree Preorder Traversal

    Binary Tree Preorder Traversal  Total Accepted: 4309 Total Submissions: 12898My Submissions ...

    2013-12-14 19:36
    531
  • Single Number II

    Given an array of integers, every element appears three times except for one. Find that single one. ...

    2013-12-15 09:01
    625
  • Unique Paths II

    Follow up for "Unique Paths": Now consider if some obstacles are added to the grids. How many uni...

    2013-12-15 11:30
    559
  • Plus One

    Given a number represented as an array of digits, plus one to the number. class Solution { public: ...

    2013-12-15 12:01
    574
  • Minimum Path Sum

    Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which...

    2013-12-15 19:32
    526
  • Path Sum II

    Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given su...

    2013-12-15 22:35
    649
  • Path Sum

    Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all...

    2013-12-15 21:58
    533

img博客搬家
img撰写博客
img发布 Chat
img专家申请
img意见反馈
img返回顶部