Coder Social home page Coder Social logo

chong2230 / leetcode-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from doocs/leetcode

0.0 1.0 0.0 27.68 MB

😏 LeetCode solutions in any programming language | 多种编程语言实现 LeetCode、《剑指 Offer(第 2 版)》、《程序员面试金典(第 6 版)》题解

Home Page: https://doocs.github.io/leetcode

License: Creative Commons Attribution Share Alike 4.0 International

Java 43.37% Python 16.17% C++ 10.29% Ruby 0.56% Go 5.51% Scala 0.04% JavaScript 8.08% C 0.07% Shell 0.09% C# 14.93% HTML 0.49% TypeScript 0.22% Rust 0.19%

leetcode-1's Introduction

LeetCode-GitHub-Doocs

languages LICENSE
stars forks PRs Welcome open-source-organization

介绍

本项目包含 LeetCode《剑指 Offer(第 2 版)》《程序员面试金典(第 6 版)》等题目的相关题解。所有题解均由多种编程语言实现,包括但不限于:Java、Python、C++、JavaScript、C#、Go,日常更新。欢迎 Star 关注本项目,获取项目最新动态。

English Version

站点

LeetCode 全解

  1. LeetCode
  2. LeetCode 《剑指 Offer(第 2 版)》
  3. LeetCode 《程序员面试金典(第 6 版)》

基础算法通关

常见的排序算法

  1. 冒泡排序
  2. 插入排序
  3. 归并排序
  4. 快速排序

面试高频考题

数组

  1. 数组中重复的数字
  2. 旋转数组

链表

  1. 从尾到头打印链表
  2. 删除链表的节点
  3. 链表中倒数第 k 个节点
  4. 反转链表
  5. 环形链表
  6. 环形链表 II

二叉树

  1. 二叉树的最近公共祖先
  2. 二叉搜索树的最近公共祖先

数学

  1. 数组中数字出现的次数
  2. 数组中数字出现的次数 II
  3. 错误的集合
  4. 二进制中 1 的个数

栈和队列

动态规划

混合问题

维护者

Yang Libin: GitHub 技术社区 @Doocs 创建者;@TheAlgorithms 组织成员。

加入我们

刷编程题的最大好处就是可以锻炼解决问题的思维能力。相信我,「如何去思考」​ 本身也是一项需要不断学习和练习的技能。非常感谢前微软工程师、现蚂蚁金服技术专家 @kfstorm 贡献了本项目的所有 C# 题解

如果你对本项目感兴趣,并且希望加入我们刷题大军,欢迎随时提交 PR。请参考如下步骤:

  1. 本项目 fork 到你的个人 GitHub 帐户,然后 clone 到你的本地机器;
  2. 对项目做出一些变更,然后使用 git addcommitpush 等命令将你的变更提交到你的远程 GitHub 仓库;
  3. 将你的变更以 PR 的形式提交过来,项目的维护人员会在第一时间对你的变更进行 review!
  4. 你也可以参考 GitHub 帮助文档 了解更多细节。

how-to-contribute

Gitpod.io 是一个免费的在线开发环境,你也可以使用它参与本项目。

Open in Gitpod

贡献者

非常感谢以下所有朋友对本项目的贡献,你们是最可爱的人!

赞助者

特别感谢以下个人、组织对本项目的赞助!

"You help the developer community practice for interviews, and there is nothing better we could ask for." -- Alan Yessenbayev

许可证

知识共享 版权归属-相同方式共享 4.0 国际 公共许可证

Creative Commons License

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.