Git Product home page Git Product logo

leetcode's Introduction

LeetCode

收集LeetCode刷题遇到的错误,错误总结在:https://blog.csdn.net/tianc666/category_9871034.html
会员题目,可以看https://www.cnblogs.com/grandyang/p/4606334.html

  1. 两数之和 TwoSum
  2. 两数相加 addTwoNumbers.addTwoNumbers
  3. 整数反转 Reverse
  4. 回文数 EasySolution
  5. 罗马数字转整数 romanToInt
  6. 最长公共前缀 longestCommonPrefix
  7. 有效的括号 isValid
  8. 合并两个有序链表 mergeTwoLists.mergeTwoLists
  9. 删除排序数组中的重复项 removeDuplicates
  10. 移除元素 removeElement
  11. 实现strStr()函数 strStr
  12. 搜索插入位置 searchInsert
  13. 外观数列 countAndSay
  14. 最大子序和 maxSubArray
  15. 二进制求和(未完) addBinary
  16. 相同的树 isSameTree
  17. 二叉树的最大深度 maxDepth
  18. 二叉树的层次遍历 II levelOrderBottom.levelOrderBottom
  19. 二叉树的层次遍历 levelOrder.levelOrder
  20. 树的前、中、后序遍历(非Leetcode题) TreeTraversal.TreeTraversal
  21. 将有序数组转换为二叉搜索树 sortedArrayToBST.sortedArrayToBST
  22. 平衡二叉树 isBalanced.isBalanced
  23. 一维数组的动态和 runningSum
  24. 剑指 Offer 10- II. 青蛙跳台阶问题 Frog_platform
  25. 剑指 Offer 10- I. 斐波那契数列 Fibonacci
  26. 第 N 个泰波那契数 Tibonacci
  27. 剑指 Offer 05. 替换空格 ReplaceSpace
  28. 面试题 08.06. 汉诺塔问题 Hanota
  29. 最富有客户的资产总量 MaximumWealth
  30. 好数对的数目 NumIdenticalPairs
  31. 拥有最多糖果的孩子 KidsWithCandies
  32. 重新排列数组 Shuffle
  33. 数组异或操作 XorOperation
  34. 统计匹配检索规则的物品数量 CountMatches
  35. 按既定顺序创建目标数组 CreateTargetArray
  36. 解压缩编码列表 DecompressRLElist
  37. 有多少小于当前数字的数字 SmallerNumbersThanCurrent
  38. 访问所有点的最小时间 MinTimeToVisitAllPoints
  39. 统计位数为偶数的数字 FindNumbers
  40. 最少操作使数组递增 MinOperations
  41. 在既定时间做作业的学生人数 BusyStudent
  42. 找到最高海拔 LargestAltitude
  43. 矩阵对角线元素的和 DiagonalSum
  44. 翻转图像 FlipAndInvertImage
  45. 将每个元素替换为右侧最大元素 replaceElements(有个用例自己的方法超时了)
  46. 爬楼梯 climbStairs

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.