I will put my solutions to Leetcode Problems in this repo. Every problem will be solved in C++; part of the problems will be solved in Java also. I will try my best to support more language in the future :)
Please feel free to contact me if you have any questions with this repo:)
email: liuyubobobo@gmail.com
大家好,欢迎大家来到我的 Leetcode 算法题解代码仓。在这个代码仓中,近乎每一个问题都会使用多种方式进行解决,同时标注了简明的算法思想,时间复杂度和空间复杂度。所有问题都会使用C++进行解决,各别问题支持Java语言和Python语言。
如果对代码仓有任何问题,欢迎联系我:)
知乎: 刘宇波 http://www.zhihu.com/people/liuyubobobo
知乎专栏:是不是很酷 https://zhuanlan.zhihu.com/liuyubobobo
个人公众号:是不是很酷:)
知识星球(免费)
-
LeetCode Database 题解代码仓:Play Leetcode Database
ID | Problem | Official Solution |
C++ | Java | Python |
---|---|---|---|---|---|
LCP01 | 猜数字 | [无] | C++ | ||
LCP02 | 分式化简 | [无] | C++ | ||
LCP03 | 机器人大冒险 | [无] | C++ | ||
LCP04 | 覆盖 | [无] | C++ | ||
LCP05 | 发 LeetCoin | [无] | C++ | ||
LCP06 | 拿硬币 | 题解 | C++ | ||
LCP07 | 传递信息 | 题解 | C++ | ||
LCP08 | 剧情触发时间 | 题解 | C++ | ||
LCP09 | 最小跳跃次数 | 题解 | C++ | ||
LCP10 | 二叉树任务调度 | 题解 | C++ | ||
LCP11 | 期望个数统计 | 题解 | C++ | ||
LCP12 | 小张刷题计划 | 题解 | C++ | ||
LCP13 | 寻宝 | 题解 | C++ | ||
LCP14 | 切分数组 | 题解 | C++ | ||
LCP15 | 游乐园的迷宫 | 题解 | C++ | ||
LCP16 | 游乐园的游览计划 | 题解 | C++ | ||
LCP17 | 速算机器人 | [无] | C++ | ||
LCP18 | 早餐组合 | [无] | C++ | ||
LCP19 | 秋叶收藏集 | 题解 | C++ | ||
LCP20 | 快速公交 | [无] | C++ | ||
LCP21 | 追逐游戏 | [无] | C++ | ||
LCP22 | 黑白方格画 | [无] | C++ | ||
LCP23 | 魔术排列 | [无] | C++ | ||
LCP24 | 数字游戏 | [无] | C++ | ||
LCP25 | 古董键盘 | [无] | C++ | ||
LCP28 | 采购方案 | [无] | C++ | ||
LCP29 | 乐团站位 | [无] | C++ | ||
LCP39 | 无人机方阵 | [无] | C++ | ||
LCP40 | 心算挑战 | [无] | C++ | ||
LCP41 | 黑白翻转棋 | [无] | C++ | ||
LCP42 | 玩具套圈 | [无] | C++ | ||
LCP43 | 十字路口的交通 | [无] | C++ | ||
LCP44 | 开幕式焰火 | [无] | C++ | ||
LCP45 | 自行车炫技赛场 | [无] | C++ | ||
LCP46 | 志愿者调配 | [无] | C++ | ||
LCP47 | 入场安检 | [无] | C++ | ||
LCP48 | 无限棋局 | [无] | C++ | ||
LCP50 | 宝石补给 | [无] | C++ | ||
LCP51 | 烹饪料理 | [无] | C++ | ||
LCP52 | 二叉搜索树染色 | [无] [缺:非线段树做法] | C++ | ||
LCP55 | 采集果实 | [无] | C++ | ||
LCP56 | 信物传送 | [无] | C++ | ||
LCP57 | 打地鼠 | [无] | C++ | ||
ID | Problem | Official Solution |
C++ | Java | Python |
---|---|---|---|---|---|
22 zj-future01 | 信号接收 | [无] | C++ | ||
22 zj-future02 | 黑白棋游戏 | [无] | C++ | ||
22 zj-future03 | 快递中转站选址 | [无] | C++ | ||
22 zj-future04 | 门店商品调配 | [无] | C++ | ||
22 顺丰01 | 顺丰鄂州枢纽运转中心环线检测 | [无] | C++ | ||
22 顺丰02 | 小哥派件装载问题 | [无] | C++ | ||
22 顺丰03 | 收件节节高 | [无] | C++ | ||
22 顺丰04 | 顺丰中转场车辆入场识别-电子围栏 | [无] | C++ | ||
22 顺丰05 | 慧眼神瞳 | [无] | C++ | ||
22春 招商银行-01 | 文本编辑程序设计 | [无] | C++ | ||
22春 招商银行-02 | 公园规划 | [无] | C++ | ||
22春 招商银行-03 | 点燃木棒 | [无] | C++ | ||
22春 招商银行-04 | 商店促销活动 | [无] | C++ | ||
22春 银联-01 | 回文链表 | [无] | C++ | ||
22春 银联-02 | 优惠活动系统 | [无] | C++ | ||
22春 银联-03 | 理财产品 | [无] | C++ | ||
22春 银联-04 | 合作开发 | [无] | C++ | ||
LCS01 | 下载插件 | [无] | C++ | ||
LCS02 | 完成一半题目 | [无] | C++ | ||
LCS03 | 主题空间 | [无] | C++ | ||