GithubHelp home page GithubHelp logo

leetcode's Introduction

LeetCode

每日一题打卡记录
2020-03月 每日一题
✅ 2020-3-1 225. 用队列实现栈
✅ 2020-3-2 206. 反转链表
✅ 2020-3-3 面试题 10.01. 合并排序的数组
2020-3-4 994. 腐烂的橘子
2020-3-5 1103. 分糖果 II
2020-3-6 面试题57 - II. 和为s的连续正数序列
2020-3-7 面试题59 - II. 队列的最大值
2020-3-8 322. 零钱兑换
✅ 2020-3-9 121. 买卖股票的最佳时机
2020-3-10 543. 二叉树的直径
2020-3-11 1013. 将数组分成和相等的三个部分
2020-3-12 1071. 字符串的最大公因子
✅ 2020-3-13 169. 多数元素
2020-3-14 300. 最长上升子序列
2020-3-15 695. 岛屿的最大面积
2020-3-16 面试题 01.06. 字符串压缩
2020-3-17 1160. 拼写单词
2020-3-18 836. 矩阵重叠
✅ 2020-3-19 409. 最长回文

✅ 2020-3-31 912. 排序数组

题解方法

  1. 买卖股票的最佳时机
    方法1:暴力求解
    方法2:一次遍历,记录买入最低点
    方法3:滑动窗口

面试题 10.01. 合并排序的数组
1:双指针算法,利用已排好序的特点,从数组尾部插入

  1. 多数元素
    1:Boyer-Moore 投票算法

2020-04月 每日一题
2020-4-1 1111. 有效括号的嵌套深度
2020-4-2 289. 生命游戏
2020-4-3 8. 字符串转换整数 (atoi)
2020-4-4 42. 接雨水
2020-4-5 460. LFU缓存
2020-4-6 72. 编辑距离
2020-4-7 面试题 01.07. 旋转矩阵
2020-4-8 面试题13. 机器人的运动范围
2020-4-9 22. 括号生成
2020-4-10 151. 翻转字符串里的单词
2020-4-11 887. 鸡蛋掉落
2020-4-12 面试题 16.03. 交点
2020-4-13 355. 设计推特
2020-4-14 445. 两数相加 II
2020-4-15 542. 01 矩阵
2020-4-16 11. 盛最多水的容器
2020-4-17 23. 合并K个排序链表
2020-4-18 33. 搜索旋转排序数组
2020-4-19 46. 全排列
2020-4-20 55. 跳跃游戏
2020-4-21 56. 合并区间
2020-4-22 199. 二叉树的右视图
2020-4-23 200. 岛屿数量
2020-4-24 202. 快乐数
2020-4-25 466. 统计重复个数
2020-4-26 面试题56 - I. 数组中数字出现的次数 2020-4-27 1095. 山脉数组中查找目标值
2020-4-28 1248. 统计「优美子数组」
2020-4-29 面试题 08.11. 硬币
2020-4-30 面试题51. 数组中的逆序对

可视化网站

visualgo

leetcode's People

Contributors

deepxmind 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.