Giter VIP home page Giter VIP logo

coding-interviews's Introduction

剑指Offer题目索引

数组

数组中重复的数字

二维数组中的查找

构建乘积数组

字符串

替换空格

字符流中第一个不重复的字符

表示数值的字符串

递归和循环

斐波那契数列

跳台阶

变态跳台阶

矩形覆盖

链表

从尾到头打印链表

删除链表中重复的结点

链表中环的入口结点

把二叉树打印成多行

按之字形顺序打印二叉树

对称的二叉树

二叉树的下一个结点

数据流中的中位数

二叉搜索树的第k个结点

重建二叉树

代码的完整性

数值的整数次方

调整数组顺序使奇数位于偶数前面

知识迁移能力

二叉树的深度

平衡二叉树

左旋转字符串

数字在排序数组中出现的次数

和为S的两个数字

数组中只出现一次的数字

和为S的连续正数序列

翻转单词顺序列

发散思维能力

不用加减乘除做加法

求1+2+3+...+n

栈和队列

用两个栈实现队列

滑动窗口的最大值

位运算

二进制中1的个数

时间效率

连续子数组的最大和

整数中1出现的次数

数组中出现次数超过一半的数字

把数组排成最小的数

时间空间效率的平衡

两个链表的第一个公共结点

第一个只出现一次的字符位置

举例让抽象具体化

包含min函数的栈

栈的压入、弹出序列

从上往下打印二叉树

二叉树中和为某一值的路径

二叉搜索树的后序遍历序列

查找和排序

旋转数组的最小数字

综合

把字符串转换成整数

面试思路

二叉树的镜像

抽象建模能力

圆圈中最后剩下的数

扑克牌顺子

代码的鲁棒性

反转链表

合并两个排序的链表

链表中倒数第k个结点

树的子结构

分解让复杂问题简单

二叉搜索树与双向链表

coding-interviews's People

Contributors

wupeixuan avatar

Watchers

 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.