Giter Club home page Giter Club logo

alogrithm's Introduction

Algorithm

整理刷题记录和常用算法

  1. 有序二维数组中的查找
  2. 替换空格
  3. 从尾到头打印链表
  4. 重建二叉树
  5. 两个栈实现一个队列
  6. 旋转数组中的最小数字
  7. 斐波那契数列
  8. 跳台阶
  9. 变态跳台阶
  10. 矩形覆盖
  11. 二进制中1的个数
  12. 数值的整数次方
  13. 奇数位于偶数前面
  14. 链表倒数第k个结点
  15. 反转链表
  16. 合并两个排序链表
  17. 树的子结构
  18. 二叉树的镜像
  19. 顺时针打印矩阵
  20. 包含min函数的栈
  21. 栈的压入和弹出序列
  22. 从上往下打印二叉树
  23. 二叉搜索树的后续遍历序列
  24. 二叉树中和为某一值的路径
  25. 复杂链表的复制
  26. 二叉搜索树与双向链表
  27. 字符串的排列
  28. 数组中出现次数超过一半的数字
  29. 最小的k个数
  30. 连续子数组的最大和
  31. 整数中1出现的次数
  32. 把数组排成最小的数
  33. 丑数
  34. 第一个只出现一次的字符
  35. 数组中的逆序对
  36. 两个链表中的第一个公共结点
  37. 数字在排序数组中出现的次数
  38. 二叉树的深度
  39. 判别平衡二叉树
  40. 数组中只出现一次的两个数字
  41. 和为S的连续正数序列
  42. 和为S的两个数字
  43. 左选择字符串
  44. 翻转单词顺序列
  45. 扑克牌顺子
  46. 圈圈最后的数字
  47. 不用关键字求连续和
  48. 用位实现加法
  49. 字符串转整数
  50. 数组中重复的数字
  51. 构建乘积数组
  52. 正则匹配
  53. 表示数值的字符串
  54. 字符流第一个不重复的字符
  55. 链表中的环的入口结点
  56. 删除链表中重复的结点
  57. 中序遍历的下一个结点
  58. 对称的二叉树
  59. 按之字形打印二叉树
  60. 二叉树打印成多行
  61. 序列化二叉树
  62. 二叉搜索树的第k个结点
  63. 数据流中的中位数
  64. 滑动窗口的最大值
  65. 矩阵中的路径
  66. 机器人的与运动范围

杂项

  1. 获取两个日期之间的天数
  2. LRU
  3. 最长重复子串
  4. KMP
  5. Rabin-Karp
  6. 以中位数作为栅栏值的快速选择
  7. 二分查找
  8. 位运算加减乘除
  9. 线段树

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.