[leetcode]1. Two Sum两数之和 Two Pointers, HashMap Easy
[leetcode]2. Add Two Numbers两数相加 Math, LinkedList Medium
[leetcode]3. Longest Substring Without Repeating Characters无重复字母的最长子串 Sliding Window Medium
[leetcode]4. Median of Two Sorted Arrays俩有序数组的中位数 Merge Sort, Binary Search Hard
[leetcode]5. Longest Palindromic Substring最长回文子串 Dynamic Programming, Manacher Medium
[leetcode]6. ZigZag Conversion字符串Z形排列 String Medium
[leetcode]7. Reverse Integer反转整数 Math Easy
[leetcode]8. String to Integer (atoi)字符串转整数 Math  Medium
[leetcode]9. Palindrome Number 回文数 Math Easy
[leetcode]10. Regular Expression Matching正则表达式的匹配 Dynamic Programming Hard
[leetcode]11. Container With Most Water存水最多的容器 Two Pointers Easy
[leetcode]12. Integer to Roman整数转罗马数字 String Easy
[leetcode]13. Roman to Integer罗马数字转整数 String Easy
[leetcode]14. Longest Common Prefix 最长公共前缀 String Easy 
[leetcode]15. 3Sum三数之和 Two Pointers Medium
[leetcode]16. 3Sum Closest最接近的三数之和 Two Pointers Medium
[leetcode]17. Letter Combinations of a Phone Number手机键盘的字母组合 Backtracking Medium
[leetcode]18. 4Sum四数之和 Two Pointers Medium
[leetcode]19. Remove Nth Node From End of List删除链表倒数第N个节点 LinkedList Easy
[leetcode]20. Valid Parentheses有效括号序列 Stack Easy
[leetcode]21. Merge Two Sorted Lists合并两个链表 Merge Sort Easy
[leetcode]22. Generate Parentheses生成括号 Backtracking Medium
[leetcode]23. Merge k Sorted Lists归并k个有序链表 PriorityQueue Medium
[leetcode]24. Swap Nodes in Pairs交换节点对 LinkedList Easy
[leetcode]25. Reverse Nodes in k-Group每k个节点反转一下 LinkedList Hard
[leetcode]26. Remove Duplicates from Sorted Array有序数组去重(单个元素只出现一次)  Two Pointers Easy
[leetcode]27. Remove Element删除元素 Two Pointers Easy
[leetcode]28. Implement strStr()实现strStr() Two Pointers Easy
[leetcode]29. Divide Two Integers两整数相除 Math Medium
[leetcode]30. Substring with Concatenation of All Words由所有单词连成的子串 Sliding Window Hard
[leetcode]31. Next Permutation 下一个排列 Array Medium
[leetcode]32. Longest Valid Parentheses最长合法括号子串 Stack, Two Pointers Medium
[leetcode]33. Search in Rotated Sorted Array旋转过有序数组里找目标值 Binary Search Medium
[leetcode]34.Find First and Last Position of Element in Sorted Array找区间 Binary Search Medium
[leetcode]35. Search Insert Position寻找插入位置 Binary Search Easy
[leetcode]36. Valid Sudoku验证数独 HashMap Medium
[leetcode]37. Sudoku Solver 解数独 Backtracking Hard
[leetcode]38. Count and Say数数 String Easy
[leetcode]39. Combination Sum组合之和 Backtracking Medium
[leetcode]40. Combination Sum II组合之和之二 Backtracking Medium
[leetcode]41. First Missing Positive第一个未出现的正数 Bucket Sort Hard
[leetcode]42. Trapping Rain Water雨水积水问题 Two Pointers Medium
[leetcode]43. Multiply Strings高精度乘法 Math  Medium
[leetcode]44. Wildcard Matching万能符匹配 Dynamic Programming Hard 
[leetcode]45. Jump Game II青蛙跳(跳到终点最小步数) Greedy Hard
[leetcode]46. Permutations全排列(给定序列无重复元素) Backtracking Medium
[leetcode]47. Permutations全排列(给定序列有重复元素)  Backtracking Medium
[leetcode]48. Rotate Image旋转图像 Array Medium
[leetcode]49. Group Anagrams变位词归类 HashMap Medium
[leetcode]50. Pow(x, n)求幂  Binary Search Medium

LeetCode解题录-1~50的更多相关文章

  1. LeetCode解题录-51~100

    [leetcode]51. N-QueensN皇后    Backtracking Hard [leetcode]52. N-Queens II N皇后 Backtracking Hard [leet ...

  2. Leetcode解题思想总结篇:双指针

    Leetcode解题思想总结篇:双指针 1概念 双指针:快慢指针. 快指针在每一步走的步长要比慢指针一步走的步长要多.快指针通常的步速是慢指针的2倍. 在循环中的指针移动通常为: faster = f ...

  3. LeetCode解题报告:Linked List Cycle && Linked List Cycle II

    LeetCode解题报告:Linked List Cycle && Linked List Cycle II 1题目 Linked List Cycle Given a linked ...

  4. leetcode解题报告(2):Remove Duplicates from Sorted ArrayII

    描述 Follow up for "Remove Duplicates": What if duplicates are allowed at most twice? For ex ...

  5. LeetCode解题记录(贪心算法)(二)

    1. 前言 由于后面还有很多题型要写,贪心算法目前可能就到此为止了,上一篇博客的地址为 LeetCode解题记录(贪心算法)(一) 下面正式开始我们的刷题之旅 2. 贪心 763. 划分字母区间(中等 ...

  6. LeetCode 解题报告索引

    最近在准备找工作的算法题,刷刷LeetCode,以下是我的解题报告索引,每一题几乎都有详细的说明,供各位码农参考.根据我自己做的进度持续更新中......                        ...

  7. leetCode解题报告5道题(六)

    题目一: Longest Substring Without Repeating Characters Given a string, find the length of the longest s ...

  8. LeetCode解题中位运算的运用

    位运算是我最近才开始重视的东西,因为在LeetCode上面刷题的时候发现很多题目使用位运算会快很多.位运算的使用包含着许多技巧(详细可以参考http://blog.csdn.net/zmazon/ar ...

  9. Leetcode解题思路总结(Easy篇)

    终于刷完了leetcode的前250道题的easy篇.好吧,其实也就60多道题,但是其中的套路还是值得被记录的. 至于全部code,请移步github,题目大部分采用python3,小部分使用C,如有 ...

随机推荐

  1. 卸载npm

    npm uninstall npm -g yum remove nodejs npm -y

  2. dubbo 调用服务超时

    先贴出错误报告: Failed to invoke the method *** in the service ***. Tried times of the providers [] (/) on ...

  3. Windows下通过pip安装PyTorch 0.4.0 import报错

    问题:通过pip安装PyTorch 0.4.0成功,但是import时报错. import torch  File "D:\Python\Python36\lib\site-packages ...

  4. ubuntu16.04上安装ros-kinetic

    1.设置安装源 sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" ...

  5. C语言排序算法学习笔记——插入类排序

    排序就是讲原本无序的序列重新排序成有序的序列.序列里可以是一个单独数据,也可以是多个数据组合的记录,按照记录里的主关键字或者次关键字进行排序. 排序的稳定性:如果排序表中有两个元素R1,R2,其对应的 ...

  6. 微信小程序是怎么运行的?

    微信客户端在打开小程序之前,会把整个小程序的代码包下载到本地. 紧接着通过 app.json 的 pages 字段就可以知道你当前小程序的所有页面路径 而写在 pages 字段的第一个页面就是这个小程 ...

  7. setsockopt详解

    Socket描述符选项[SOL_SOCKET] #include <sys/socket.h>  int setsockopt( int socket, int level, int op ...

  8. 【转】【测试用例设计】WEB通用测试用例

    易用性 1.便于使用.理解.并能减少用户发生错误选择的可能性 2.当数据字段过多时,使用便于用户迅速吸取信息的方式表现信息,突出重点信息,标红等方式 3.显示与当前操作相关的信息,给出操作提示. 4. ...

  9. c++数据类型漫谈

    在计算机眼里所有数据都是0101,二进制才是物理世界的主宰,c++的数据类型相对其他高级语言是相对较细的,因为是继承C而来,但是c++为什么要设计这么多数据类型呢?因为人类难以理解二进制,这就是数据类 ...

  10. 数据库分库分表(sharding)系列

    数据库分库分表(sharding)系列     目录; (一) 拆分实施策略和示例演示 (二) 全局主键生成策略 (三) 关于使用框架还是自主开发以及sharding实现层面的考量 (四) 多数据源的 ...