[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. Resharper快捷键汇总

    编辑Ctrl + Space 代码完成 Ctrl + Shift + Space代码完成Ctrl + Alt + Space代码完成Ctrl + P 显示参数信息Alt + Insert 生成构造函数 ...

  2. Ubuntu 16.04.3 LTS 安装 MongoDB

    1.安装Ubuntu16.04 运行sudo apt-get install mongodb安装Mongodb 如果没有MongoDB库,则运行sudo apt-get update更新库. 2.运行 ...

  3. CentOS 7修改系统时间及硬件时间

    转载于:https://www.cnblogs.com/LouisZJ/p/8554991.html [root@nginx ~]# timedatectl --help timedatectl [O ...

  4. c里面的static inline函数

    一般来说加上static表示函数是文件作用域,有的时候单独使用inline编译器会优化,没有编译成内联函数,而是变成普通函数编译,所以必须在前面加上static,放在头文件中可以被外部文件访问.   ...

  5. 常见手机的设备分辨率、viewport和devicePixelRatio

    常见手机的设备分辨率和viewport分辨率,及其1rem的大小(以vmin为单位) 常见的devicePixelRatio是1, 1.325, 1.5, 2, 2.4, 3.  (具体见下面的表格, ...

  6. git push时报错refusing to merge unrelated histories

    1. 删除本地项目中的.git目录,然后向远程仓库提交代码的时候,重新配置后再次提交.会有冲突. 解决方式: git remote add origin [//your giturl] git pul ...

  7. Tmux 常用快捷键

    Ctrl-b : Send the prefix key through to the application. " : Split the current pane into two, t ...

  8. 214. Spring Security:概述

    前言 在之前介绍过了Shiro之后,有好多粉丝问SpringSecurity在Spring Boot中怎么集成.这个系列我们就和大家分享下有关这方面的知识. 本节大纲 一.什么是SpringSecur ...

  9. Sublime Text 3 插件

    1.快捷键:ctrl+shift+P 2.输入install package,选择install package 3.输入需要安装的插件,选择安装 4.重启sublime 1. 格式化 html-cs ...

  10. python 获取中文拼音首字母;判断文件夹是否存在

    1.如何获取中文字符串的首字母 import pinyin #输入name def get_pinyin_first_alpha(name): return "".join([i[ ...