博客专栏  >  编程语言   >  经典算法,LeetCode题目研究(Everyday Updating)

经典算法,LeetCode题目研究(Everyday Updating)

经典算法研究;LeetCode按标签分类整理,分析研究。

关注
3 已关注
167篇博文
  • LeetCode已完成题目索引及管理工具(每天更新)

    算法研究的重要性 2 leetcode leetcode是面试算法真题,囊括了常用算法思想和经典题目,是算法入门和提升的好材料。我每天都至少训练一个题目,锻炼自己的逻辑思维和写算法的严密性。 3...

    2017-06-10 21:17
    539
  • 48. Rotate Image

    原题You are given an n x n 2D matrix representing an image.Rotate the image by 90 degrees (clockwise)....

    3天前 10:33
    68
  • 图像顺时针步进1个像素点的算法

    矩阵步进1的算法public void Rotate(int[,] matrix) { int n = matrix.GetUpperBound(0) + 1; ...

    3天前 22:35
    63
  • 34. Search for a Range

    原题Given an array of integers sorted in ascending order, find the starting and ending position of a g...

    5天前 09:28
    114
  • 32. Longest Valid Parentheses

    栈的典型应用。能想到栈,但是能想到Push字符索引,真的不是很容易(这道题一般的想法是存储‘(’ ‘)’这些符号)。 原题 Given a string containing just the ...

    6天前 18:28
    282
  • 18. 4Sum

    4个数的和等于固定值,利用3个数的和等于固定值的API Given an array S of n integers, are there elements a, b, c, and d in S ...

    2017-06-14 14:13
    111
  • 17. Letter Combinations of a Phone Number

    这是一个队列的经典例子!原题Given a digit string, return all possible letter combinations that the number could re...

    2017-06-14 12:54
    278
  • 16. 3Sum Closest

    原题 Given an array S of n integers, find three integers in S such that the sum is closest to a given...

    2017-06-14 10:29
    187
  • 15. 3Sum

    这道题最难的是所求解不能包含重复的triplets。原题Given an array S of n integers, are there elements a, b, c in S such tha...

    2017-06-14 08:44
    82
  • 12. Integer to Roman

    Integer to Roman

    2017-06-13 17:26
    184
  • 5. Longest Palindromic Substring

    背景 “回文”是指正读反读都能读通的句子,它是古今中外都有的一种修辞方式和文字游戏,如“我为人人,人人为我”等。在数学中也有这样一类数字有这样的特征,成为回文数(palindrome numb...

    2017-06-13 08:38
    215
  • 3. Longest Substring Without Repeating Characters

    原题 Given a string, find the length of the longest substring without repeating characters. Examples...

    2017-06-12 14:27
    85
  • 172. Factorial Trailing Zeroes

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

    2017-06-12 13:10
    279
  • 165. Compare Version Numbers

    Compare Version Numbers

    2017-06-11 22:16
    303
  • 70. Climbing Stairs

    70. Climbing Stairs

    2017-06-11 21:41
    377
  • 38. Count and Say

    原题 The count-and-say sequence is the sequence of integers with the first five terms as following: ...

    2017-06-11 17:21
    319
  • 28. Implement strStr()

    原题 Implement strStr(). Returns the index of the first occurrence of needle in haystack, or -1 if n...

    2017-06-11 16:10
    180
  • 19. Remove Nth Node From End of List

    19. Remove Nth Node From End of List

    2017-06-11 15:31
    244
  • 4. Median of Two Sorted Arrays(归并排序思想)

    原题 There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of th...

    2017-06-10 14:00
    371
  • 2. Add Two Numbers

    2. Add Two Numbers

    2017-06-09 15:00
    86

Windows C/C++/C# 编程
1306233477
FFmpeg
1353498154
经典算法研究
323241778
微软面试100题系列
183159401
Java开发进阶
663032953
img博客搬家
img撰写博客
img专家申请
img意见反馈
img返回顶部