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 |
---|---|---|---|---|---|
LCP001 | 猜数字 | [无] | C++ | ||
LCP002 | 分式化简 | [无] | C++ | ||
LCP003 | 机器人大冒险 | [无] | C++ | ||
LCP004 | 覆盖 | [无] | C++ | ||
LCP005 | 发 LeetCoin | [无] | C++ | ||
LCP006 | 拿硬币 | 题解 | C++ | ||
LCP007 | 传递信息 | 题解 | C++ | ||
LCP008 | 剧情触发时间 | 题解 | C++ | ||
LCP009 | 最小跳跃次数 | 题解 | C++ | ||
LCP010 | 二叉树任务调度 | 题解 | C++ | ||
LCP011 | 期望个数统计 | 题解 | C++ | ||
LCP012 | 小张刷题计划 | 题解 | C++ | ||
LCP013 | 寻宝 | 题解 | C++ | ||
LCP014 | 切分数组 | 题解 | C++ | ||
LCP015 | 游乐园的迷宫 | 题解 | C++ | ||
LCP016 | 游乐园的游览计划 | 题解 | C++ | ||
LCP017 | 速算机器人 | [无] | C++ | ||
LCP018 | 早餐组合 | [无] | C++ | ||
LCP019 | 秋叶收藏集 | 题解 | C++ | ||
LCP020 | 快速公交 | [无] | C++ | ||
LCP021 | 追逐游戏 | [无] | C++ | ||
LCP022 | 黑白方格画 | [无] | C++ | ||
LCP023 | 魔术排列 | [无] | C++ | ||
LCP024 | 数字游戏 | [无] | C++ | ||
LCP025 | 古董键盘 | [无] | C++ | ||
LCP028 | 采购方案 | [无] | C++ | ||
LCP029 | 乐团站位 | [无] | C++ | ||
LCP039 | 无人机方阵 | [无] | C++ | ||
LCP040 | 心算挑战 | [无] | C++ | ||
LCP041 | 黑白翻转棋 | [无] | C++ | ||
LCP042 | 玩具套圈 | [无] | C++ | ||
LCP043 | 十字路口的交通 | [无] | C++ | ||
LCP044 | 开幕式焰火 | [无] | C++ | ||
LCP045 | 自行车炫技赛场 | [无] | C++ | ||
LCP046 | 志愿者调配 | [无] | C++ | ||
LCP047 | 入场安检 | [无] | C++ | ||
LCP048 | 无限棋局 | [无] | C++ | ||
LCP050 | 宝石补给 | [无] | C++ | ||
LCP051 | 烹饪料理 | [无] | C++ | ||
LCP052 | 二叉搜索树染色 | [无] [缺:非线段树做法] | C++ | ||
LCP055 | 采集果实 | [无] | C++ | ||
LCP056 | 信物传送 | [无] | C++ | ||
LCP057 | 打地鼠 | [无] | C++ | ||
ID | Problem | Official Solution |
C++ | Java | Python |
---|---|---|---|---|---|
22 天堂硅谷-4 | 补给覆盖 | [无] | C++ | ||
22 天堂硅谷-3 | 重复的彩灯树 | [无] | C++ | ||
22 天堂硅谷-2 | 销售出色区间 | [无] | C++ | ||
22 天堂硅谷-1 | 化学反应 | [无] | C++ | ||
22秋 银联-4 | 设计自动售货机 | [无] | C++ | ||
22秋 银联-3 | 风能发电 | [无] | C++ | ||
22秋 银联-2 | 勘探补给 | [无] | C++ | ||
22秋 银联-1 | 重构链表 | [无] | C++ | ||
22 AutoX-4 | 蚂蚁爬行 | [无] | C++ | ||
22 AutoX-3 | 出行的最少购票费用 | [无] | C++ | ||
22 AutoX-2 | 蚂蚁王国的蜂蜜 | [无] | C++ | ||
22 AutoX-1 | 网页瀑布流 | [无] | C++ | ||
22 九坤-04 | 筹码游戏 | [无] | |||
22 九坤-03 | 数字默契考验 | [无] | C++ | ||
22 九坤-02 | 池塘计数 | [无] | C++ | ||
22 九坤-01 | 可以读通讯稿的组数 | [无] | C++ | ||
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++ | ||