[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. JAVA体系学习-导向

    一:当前学习内容 数值类型处理总结,字符类型处理总结,日期类型处理总结 spring 事务源码分析 spring源码系列 二:当前学习 主攻:并发编程->RPC原理->MQ原理->- ...

  2. 三、Python-列表

    一.序列:是一块用于存放多个值的连续内存空间,并且按一定顺序排列,可以通过索引取值 索引:从左到右的索引从0开始依次增加的正整数:从右到左的索引为-1开始的复数 切片(分片):一中获取序列中的元素的方 ...

  3. LeetCode 106. Construct Binary Tree from Inorder and Postorder Traversal 由中序和后序遍历建立二叉树 C++

    Given inorder and postorder traversal of a tree, construct the binary tree. Note:You may assume that ...

  4. [解决]RESTEASY003215: could not find writer for content-type text/html type: java.lang.String

    一.问题描述 1)项目一开始采用JAX-RS 2.1+Jersey 2.26调用REST服务能正常调用并获得正确响应: 2)当项目引入dubbo 2.6.2后也用到rest而dubbo要用到RESTE ...

  5. 初次接触Linux

    最近由于工作需求,需要接触Linux系统. 使用VMware虚拟机,安装ubuntu系统.网上教程很多. 配置opencv环境.这是我参考的网上帖子https://blog.csdn.net/fish ...

  6. django之关联field 描述子是如何实现的

    model定义时,每个field都是一个类属性,一个对象.在生成类时,属性有contribute_to_class的方法,会调用该方法. m2m field,它会先调用自己的contribute_to ...

  7. pytorch 生成随机数

    在使用PyTorch做实验时经常会用到生成随机数Tensor的方法,比如: torch.rand() torch.randn() torch.normal() torch.linespace() 在很 ...

  8. qingstor python-sdk 安装错误 src/MD2.c:31:20: fatal error: Python.h: No such file or directory

    ubuntu安装python qingstor-sdk, src/MD2.c:31:20: fatal error: Python.h: No such file or directory compi ...

  9. 恢复oracle 11g 的System及sys用户的密码

    进入E:\app\orcl\product\11.2.0\dbhome_1\database目录下找到PWDorcl.ora备份后删除文件,orcl是数据库的实例名 以管理员身份打开cmd,执行 or ...

  10. 2017-11-10 Fr Oct 消参

    2017-11-04 Sa $ P(-3, 0) $ 在圆C $ (x-3)^2 + y^2 = 8^2 $ 内,动圆M与圆相切且过P点,求M点轨迹. 设切点 $ A(a, b) $,圆心 \(M(x ...