Giter Club home page Giter Club logo

aimatoffer's Introduction

自己实现一些《剑指Offer》的代码


目录

  1. 赋值运算操作符
  2. 实现Singleton模式
  3. 二维数组的查找
  4. 替换空格
  5. 从尾到头打印链表
  6. 重建二叉树
  7. 用两个栈实现队列
  8. 旋转数组的最小数字
  9. 斐波那契数列
  10. 二进制中1的个数
  11. 数值的整数次方
  12. 打印1到最大的n位数
  13. 在O(1)时间删除链表节点
  14. 调整数组顺序使奇数位于偶数的前面
  15. 链表中倒数第k个节点
  16. 翻转链表
  17. 合并两个排序的链表
  18. 树的子结构
  19. 二叉树的镜像
  20. 顺时针打印矩阵
  21. 包含min函数的栈
  22. 栈的压入、弹出序列
  23. 从上往下打印二叉树
  24. 二叉搜索树的后序遍历序列
  25. 二叉树中和为某一值的路径
  26. 复杂链表的复制
  27. 二叉搜索树和双向链表
  28. 字符串的排列
  29. 数组中出现次数超过一半的数字
  30. 最小的K个数
  31. 连续子数组的最大和
  32. 从1到n整数中1出现的次数
  33. 把数组排成最小的数
  34. 丑数
  35. 第一个只出现一次的字符
  36. 数组中的逆序对
  37. 两个链表的第一个公共结点
  38. 数字在排序数组中出现的次数
  39. 二叉树的深度
  40. 数组中只出现一次的数字
  41. 和为s的两个数字 VS 和为s的连续正数序列
  42. 翻转单词顺序 VS 左旋转字符串
  43. n个骰子的点数
  44. 扑克牌的顺子
  45. 圆圈中最后剩下的数字
  46. 求1+2+···+n
  47. 不用加减乘除做加法
  48. 不能被继承的类
  49. 把字符串转换成整数
  50. 树中两个结点的最低公共祖先

aimatoffer's People

Contributors

preke avatar

Watchers

 avatar  avatar

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.