My Avatar

GuilinDev

If you don't read your codes for more than 6 months, it will be like someone else writing it when you read it again.

刘教练的篮球训练站

Read More

Autumn Journey

🍂 Click Below to Watch the Autumn Journey Video - 点击下方播放音乐 🍂

Watch the video
▶︎

Read More

Pythoncheatsheet

Data Types 数据类型

Integers 整数

Integers are whole numbers. 整数是整数。

1
my_number = 354

Floating Point Numbers 浮点数

Floats are numbers with decimal places. When you do a calculation that results in a fraction e.g. 4 ÷ 3 the result will always be a floating point number.

1
my_float = 3.14159

Strings 字符串

A string is just a string of characters. It should be surrounded by double quotes.

1
my_string = "Hello"

String Concatenation 字符串连接

You can add strings to string to create a new string. This is called concatenation. It results in a new string.

1
2
"Hello" + "Angela"
#becomes "HelloAngela"

Escaping a String 转义字符串

Because the double quote is special, it denotes a string, if you want to use it in a string, you need to escape it with a “"

1
2
3
speech = "She said: \"Hi\""
print(speech)
#prints: She said: "Hi"

Read More

Whyk8sisnecessary

为什么Kubernetes已经是程序员必备技能 - 01/27/2024

Read More

Randompicker

Read More

Runing_millisma_oct2022_5k

Running@MillsMA_5k_Oct2022:

Read More

Git In Practice

Git常用技巧

Read More

Kubernetes Notes

Kubernetes Overview

Read More

System Desgin Notes

Design Job Scheduler

  • 一次或多次调度
  • 是否存

Read More

Datatable Lc

Read More

Topicstemplates

选择排序/Cycle Sort让

Read More

Ddia Notes

DDIA Review Notes

Read More

Implementation Load Balancer

Random

Read More

Implementation Hashing

Simple Hashing

Read More

Python Contents

1.从Python开始

(1) 环境

(2) Anaconda

Read More

Sumarry Machine Learning Yiwen

和Yiwen的Machine Learning的summary,12/31/2021前完成

Read More

Web Security Fundamentals

1. Cross Site Scripting (XSS)

XSS跨站脚本攻击,为了与CSS避免同名,所以缩写为XSS。攻击方式是利用网页开发时留下的漏洞,讲恶意脚本嵌入到用户将会访问的页面中,这样当正常用户访问该页面时,会导致之前嵌入的恶意脚本被执行,从而恶意攻击用户。

Read More

Implement A Json Parser

Json Parser的学习和简单实现

Read More

Aws Solution Architect Certification Notes

0 Introduction

Read More

Java Stream Debug

Intellij中Java Stream的dubug经常不知道怎么做的,最近看到这个文档Intellij Java Stream Debug才发现挺方便用的。

Read More

Principals Design Databases

3个基础原则(任何系统)

  1. 结构清晰:表名、字段命名没有歧义,一眼看懂
  2. 唯一职责:一表一用,领域定义清晰,不存储无关信息,相关数据在一张表中
  3. 主键原则:设计不带物理意义的主键(例如名字作为主键,而名字可能变动);有唯一约束,确保幂等

Read More

Java Steam Summary

Read More

Halo reach with victory

Click the Pic Below:

Read More

Solution For Git Always Ask Passphrase

Replace HTTPS with SSH way to do the transfer in the socket

Read More

How to transpose Rows to columns Dynamically in mysql

MySQL中如何利用SQL动态地转置行成为列

有些时候,数据按行存储,但是报表的时候需要按列输出,这时候就需要转置。同时,数据本身存储的行不知道共有多少,这时候需要知道需要多少列,也即是动态转置。MySQL中没有built-in的函数进行动态转置的操作,所以需要使用SQL来完成,以下是如何使用SQL语句在MySQL中动态转置将行转变成列。

Read More

Csgo video editing practice

Click the Pic Below:

Read More

2021年初感想

世界一直在变,每个人也一直在变,变化的世界,变化的我们,没法去匹配过去不变的观点。因此,不要用现在的思维方式去判断过去的对错。况且,人的大脑天然就会欺骗自己,都会朝着对自己更有利的方向,选择性记忆甚至是涂改性记忆。

Read More

Architecture Summary

架构师思维导图

Read More

Architecture Design Summary

背景

通达是某上市公司全资投资成立的一家物流快递公司,主要进行同城快递业务,公司刚刚成立,组建20人技术部门,准备两个月后系统开发完成上线,你是后端架构师,请你完成系统顶层架构设计,并组织架构评审会议。

Read More

Pagerank Algorithm

PageRank是一种对网页进行排名的直观方法,它是Google早期阶段的网络索引算法的基础。这里我们从以下几个方面来了解PageRank:

  • PageRank背后的基本思想
  • 了解PageRank算法
  • 实现一个PageRank

Read More

Bigdata Review

Apache Spark VS Apache Hadoop

Apache Spark是一个框架,可让让使用者立即分析数据并主要执行内存中的计算。此外,Spark还可以单独或与Hadoop/YARN等结合使用。这些因素导致许多人宣布Hadoop即将消失,并认为Sparks是其永久替代品。实际上,就Hadoop而言,借助MapReduce的增强功能,它可以首先在处理信息之前先存储所有信息。由于它跟Spark比速度不占优势,但可用于处理内存量很小的大量数据,所以仍是很有用的。Spark则使用内存中数据处理,这意味着它将占用大量内存,因为在处理完成之前将需要大量数据缓存。因此,在选择Spark之前,需要确保有足够的内存。

Read More

Java解析单个大文件

背景

“如何快速对一个大文件进行解析?”比如一个10GB的大日志文件,需要用比如Logviewer这样的专门软件来查看,普通文件编辑软件无法查看,如果解析的时候直接把文件读入到内存中,内存会很慢并且可能爆栈,如何高效解析呢?

Read More

Bigdata In Industry

大数据在电信行业的应用

过去数十年来,通信领域中,尤其是服务提供商(communications service provider, CSP)已传输并收集了大量有关客户呼叫模式,无线数据使用,位置,网络带宽统计信息甚至移动设备访问的单个应用程序和网页的信息。

Read More

Bigdata In Industry Review

在大数据的概念出现之前,稍微有点规模的企业想做以决策为目的的技术和应用,通常是用商业智能BI框架/数据仓库来做,传统的BI通常由Data warehouse技术来处理不用来源的数据, 比如企业的ERP,CRM,SCM这样的业务系统等等等,利用数据分析和数据挖掘,然后使用商用报表工具比如microstrategy,tableau或者自定义报表做数据可视化。

Read More

Security And High Availability

导致系统不可用的原因有哪些?保障系统稳定高可用的方案有哪些?请分别列举并简述。

高度可用的数据意味着几乎可以无中断访问的数据。通常用9的个数来衡量,影响高可用的因素包括:

Read More

Security And High Availability Review

软件安全性

包括以下实践

  • 身份验证机制和授权Authentication Mechanism & Authorization - 设计安全的系统,防止用户更改身份后无需验证身份,多因素身份验证,安全控制机制,资源授权和文件数据库权限等;
  • 数据校验Data validation - 包括集中式验证机制,将数据转换为规范形式,实现语言级别类型来捕获有关数据有效性的假设等等;
  • 加密Cryptography - 保护数据免遭未经授权的修改,验证数据源等;
  • 识别敏感数Identifying & Handling Sensitive Data - 有些数据跟普通数据不用,要适合相关法规,公司政策,用户期望等,数据的敏感度包括访问控制机制(文件/内存/数据库保护机制), 用于保护数据的机密和完整性的密码学,冗余备份保持数据可用性等;
  • 第三方风险 - 主要是集成威胁和兼容性问题;
  • 日志监控 - 这个对安全性很重要,通过日志监控曼珠一些安全标准例如FIPS,HIPAA等;
  • 考虑以下威胁:
    • 防注入Injection prevention
    • 验证和Session管理 Broken Authentication and Session Management
    • 跨站点脚本攻击 Cross-Site Scripting
    • Broken Access Control
    • 安全配置问题 Security Misconfiguration
    • 敏感数据泄露 Sensitive Data Exposure
    • 跨站请求伪造 Cross-Site Request Forgery (CSRF)
    • 已知漏洞组件 Using Components with Known Vulnerabilities
    • 等等

Read More

Dubbo Sequential_diagram

Dubbo的同步调用时序图 上面是同步调用的流程,异步调用与之不同的是,调用线程拿DefaultFuture实例阻塞get结果,而是调用即返回(要立刻保存RpcContext中的Future的引用,不然可能被其他线程覆盖掉),在需要拿结果的时候,再用future.get()方法取结果即可。

Read More

Dubbo Review

领域驱动

DDD 是软件行业的一种成熟的方法论和模式。通过应用 DDD,我们能够很好的将需求应对到设计,能够让开发聚焦业务本身而不是技术,能够让代码体现我们设计,能够让团队在一个框架内有节奏的开发。

Read More

Jvm Garbage Collection

JVM垃圾回收

仅仅从名字上看,垃圾回收看起来是可以从内存中查找和清空垃圾,实际上,垃圾收集会跟踪JVM堆空间中的每个可用对象,并删除未使用的对象。从而达到回收已经分配出去的内存, 然后可以进行再分配。

Read More

Jvm Garbage Collection Review

JVM 垃圾回收

面试中谈JVM垃圾回收从四个方面回答:

  1. JVM中垃圾对象的确定 - 可达性分析
  2. JVM的垃圾回收算法 - 三种
  3. JVM垃圾回收按区回收的过程 - 新生代,老年代,永久代
  4. JVM的垃圾回收器 - 四种

Read More

Algorithm And Database

  1. 一道算法题 有两个单向链表(链表长度分别为 m,n),这两个单向链表有可能在某个元素合并,如下图所示的这样,也可能不合并。 现在给定两个链表的头指针,在不修改链表的情况下,如何快速地判断这两个链表是否合并?如果合并,找到合并的元素,也就是图中的 x 元素。 请用(伪)代码描述算法,并给出时间复杂度和空间复杂度。

Read More

Algorithm And Database Review

算法

基本原理

架构师也需要在算法和数据结构上有坚实的基础。需要对以下主题有基本的了解才能开始:

数据结构

了解数组,链表,二叉树,哈希表,图,堆栈,队列,堆和其他基本数据结构。

数学与逻辑

如果想精通算法,需要从几个不同的领域中了解一些数学概念。 集合论Set Theory,有限状态机finite-state machines,正则表达式regular expressions,矩阵乘法matrix multiplication, 按位运算bitwise operations,求解线性方程式linear equations,重要的组合概念combinatorics,例如排列permutations,组合combinations,信鸽原理。

计算机组成

了解如何在计算机中表示数据,数字逻辑设计,布尔代数,计算机算术,浮点表示,高速缓存设计的基础知识。尝试并学习一些有关C和汇编语言的知识。

Read More

Stressing Test

性能压测的时候,随着并发压力的增加,系统响应时间和吞吐量如何变化,为什么?

Read More

Stressing Test Review

性能优化对架构的意义

Read More

Doris Review

Apache Doris 临时失效时序图

Read More

Cap Theorem

CAP定理也称为Brewer定理,是由计算机科学家Eric Brewer在2000年分布式计算原理研讨会上提出的。 在CAP定理中,分布式系统有三个指标:

Read More

Caching And Load Balancing

一致性Hashing算法

什么是一致性hashing算法?

首先回顾下什么是Hashing,Hashing是一种将任意大小的数据映射到固定大小的另一数据(通常是整数)的技术,称为哈希或哈希码。

Read More

Caching And Load Balance Review

Caching and Load Balance

Read More

Large Scale Internet App Technologies

互联网产品的特点可以说有以下:

  • 用户多,分布广泛
  • 大型互联网的流量很大
  • 海量的数据,包括业务数据和性能数据
  • 容易受到网络攻击
  • 迭代快

Read More

Large Scale Internet App Technologies Review

本周感想集中在初创团队的架构思维一个维度上面 - 安全

Read More

Behavioral Questions

https://collegegrad.com/tough-interview-questions

Read More

File System With Composite Design Pattern

文件系统设计

组合模式 + 树形结构

树形结构不论在生活中或者是开发中都是一种非常常见的结构,一个容器对象(如文件夹)下可以存放多种不同的叶子对象或者容器对象,容器对象与叶子对象之间属性差别可能非常大。

Read More

Pattern And Refactor

单例模式Singleton

单例实现

静态内部类来实现

  • 实现代码简洁。和双重检查单例对比,静态内部类单例实现代码真的是太简洁,又清晰明了。
  • 延迟初始化。调用getSingleton才初始化Singleton对象。
  • 线程安全。JVM在执行类的初始化阶段,会获得一个可以同步多个线程对同一个类的初始化的锁。

Read More

Pattern And Refactor Review

设计模式是解决软件设计中常见问题的典型解决方案。它们就像预制的蓝图,可以对其进行自定义以解决代码中反复出现的设计问题。

Read More

Dependency Inversion Principle

Dependency Inversion Principle(DIP)的定义

DIP基本思想很简单但很重要:提供复杂逻辑的高级模块应易于重用,并且不受提供实用程序功能的低级模块的更改的影响。 为此,需要引入一种抽象,该抽象将高级模块和低级模块彼此分离。

Read More

Dependency Inversion Principle Framework

Dependency Inversion Principle框架

以WinSCP举例,说明一个Remote file server client实现依赖反转原则的例子 为远程文件服务器(FTP,云存储…)实现一个客户端。可能将其视为一组抽象接口:

Read More

Software Architect 1_2

程序员也要学会做架构

软件工程师是一份充满变化的职业,总是有新的语言可供学习,新的平台可供理解,以及新的业务问题需要解决。 软件从初级开始,成长的方向不止一个。

Read More

Software Architect 1_1

软件架构图练习

食堂就餐卡系统设计

  • 系统中每个消费者都有一张卡,在管理中心注册缴费,卡内记着消费者的身份、余额。
  • 使用时将卡插入收款机则显示卡上金额,服务员按收款机上数字键,收款机自动计算并显示消费额及余额。
  • 管理中心的管理员监视每一笔消费,可打印出消费情况的相关统计数据。

Read More

DP - Best Time to Buy and Sell Stock

02-08-2020 Saturday

Here I am introducing all the “Best time to Buy and Sell Stock” coding questions in leetcode:

  1. 121 - Best Time to Buy and Sell Stock
  2. 122 - Best Time to Buy and Sell Stock II
  3. 123 - Best Time to Buy and Sell Stock III
  4. 309 - Best Time to Buy and Sell Stock with Cooldown
  5. 188 - Best Time to Buy and Sell Stock IV
  6. 714 - Best Time to Buy and Sell Stock with Transaction Fee

[7, 1, 5, 3, 6, 4]

Inside an integer array, each element stands for one price of the stock, and with different buy/sell strategies, to get best benefits.

121 can only buy once

122 can buy unlimited times

123 can only buy twice (can’t have two stocks at the same time and need to sell before the second buying)

309 have cool down so cannot buy stock the second day right after selling it

188 similar to 123, but can do k times transactions

714 how to maximize benefits with transaction fees

首先看121,只能买一次,买一次的收益就是负的价格,比如在第一天买的收益胃-7,在第二天买的收益为-1,如此可以去找到最低的价格买进来,然后在这个最低价格后面找到一个最高的价格卖出去,在题目中就是在1的位置买入(收益为-1),在6的位置卖出(收益为+6),将二者收益加在一起,最后的结果为5,这就是买一次和卖一次的最大收益。 不考虑泛型的动态规划,就是写一次遍历,记录最小值,然后把这个最小值后面的值挨个来减去这个最小值,来更新全局最大的profit,也就是答案。 122类似,只要前一天的价格比当天价格大,就不买了,否则买下来,第二天卖出去即可获得收益,然后把每次买卖的收益加起来即可,例子[7, 1, 5, 3, 6, 4],在1的时候买,6的时候卖;3的时候买,6的时候卖,即可。 123和188则是在122的基础上加上2次和k次的区别,309则是卖掉后第二天不能直接买的限制。

所有的题目可以通过一个DP方程,不同题目只需细微的修改,即可求解。求解只能交易k次的情况,推导出相关方程式,当k==1时,为121题;当k==max时,为122题;当k==2时,为123题;309有cooldown和714有transction fee的情况再特殊处理下。所以这一系列题关键就是求k的情况。

1) 暴力法,这个把所有k次买卖的组合都拿出来试试,这个方法略;

2)DP,第一步,状态的定义,dp[i] 表示到了第i天最大的利润max profit,为了变量名表示有意义,把数组称为maxProfit[i],假设题目的数组长度为n,那我们只需要返回maxProfit[n - 1]的数值就是要的结果。 第二步,状态转移方程的推导,我们先尝试下maxProfit[i]能否有前一天的状态(maxProfit[i - 1])来推导出:

Read More

Deploy Java Web Application on Heroku

11-05-2018 Monday

This blog is to show how to deploy Java Web Application to Heroku freely

  1. Create the Account on https://www.heroku.com/ and login;
  2. Create a new app on the dashborad page: alt text 3.

Read More

发布 Kotlin 库到 Maven/JCenter仓库

05-12-2018 Saturday

这篇文章主要是记录我如果解决了这个发布问题, 具体的解决方案文件和教程我已经上传至 Github https://github.com/liungkejin/GradlePublish

之前的文章 Android Studio 发布项目到Maven/JCenter仓库, 将 Java 库发布到 Maven/JCenter 上.

但是今天我打算将我的 Kotlin 库发布上去的时候, 发现了一些问题. 因为 Kotlin 文件不能用 javadoc工具来生成 Javadoc, 导致了在执行

1
bintrayUpload
任务的时候
1
javadocJar
1
sourcesJar
两个任务都不能 build 成功, 虽然我可以把这两个任务去掉, 没有 *-sources.jar 和 *-javadoc.jar 一样也是可以发布到 Maven 上的, 但是如果要发布到 JCenter 上就需要这两个文件了,如果没有则审核过不了

JCenter hosts Java applications that follow the Maven convention. In addition to the existing files, you will need a *-sources.jar, and optionally a *-javadoc.jar. Your files should be under a Maven path layout. (see https://bintray.com/docs/usermanual/uploads/uploads_includingyourpackagesinjcenter.html)

Once those files are added, we will be glad to include your package in JCenter.

然后我在 Kotlin 社区找了一下关于生成 Javadoc 的讨论,最后发现 Kotlin 的 KDoc 项目已经没有了, 但是 Kotlin 开发了 Dokka , Dokka 是 kotlin 的一个文档生成引擎.

Dokka is a documentation engine for Kotlin, performing the same function as javadoc for Java. Just like Kotlin itself, Dokka fully supports mixed-language Java/Kotlin projects. It understands standard Javadoc comments in Java files and KDoc comments in Kotlin files, and can generate documentation in multiple formats including standard Javadoc, HTML and Markdown.

但是又很不幸的是, 目前 dokka 的

1
dokka-android-gradle-plugin
目前还没有 release, 而且 dokka 项目的 README 也都是坑, 虽然这个 Android gradle plugin 没有 release, 不过他已经在上面写上用法了, 也没说明有没有 release, 直至我在 bintray 上查看了他们的版本文件才知道确实没有这个 plugin…., 然后我试了一下使用
1
dokka-gradle-plugin
, 但是我也没有弄成功, 可他的 README 上面明明就是这样写的

Read More

使用 Kotlin 开发 Android

05-06-2018 Saturday

学习和使用 Kotlin 来开发安卓已经有一段时间了, 总体来说, 我还是很喜欢 kotlin 这个语言的, 比 java 用起来感觉轻便很多, 特别是支持 lambda, 委托, 隐式类型转换, 让代码显得特别的精炼.

最主要的是 kotlin 很大程度避免了 java 里面的空指针异常, 而且可以和 java 自由混合.

用 Kotlin 来开发 Android 也极好的, 因为 Kotlin 支持 Java 6+ :)

可以看一下 java 和 kotlin 的语言对比:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// java
view.setOnClickListener(new View.OnClickListener() {
    @Override
    public void onClick(View v) {
        v.post(new Runnable() {
            @Override
            public void run() {
                //
            }
        });
    }
});

// kotlin, lambda, 虽然 Java 8 也支持 lambda 了, 但是 Android 不支持 Java8 ...
view.setOnClickListener {
    it.post {
        // run
    }
}

// java, 这里如果 view 为 null, 则会抛出Null异常
void invisibleView(View view) {
    view.setVisibility(View.INVISIBLE);
}

// kotlin, 这是不允许传入null, 所以不会出现 Null 异常
fun invisibleView(view: View) {
    view.visibility = View.INVISIBLE
}
// 即使允许传入 null, kotlin 也可以很轻松的避免 Null 异常
fun invisibleView(view: View?) {
    view?.visibility = View.INVISIBLE
}

不过kotlin也有一些不如人意的地方, 比如 泛型感觉没有java的好用 (可能是我还没掌握好吧!),

但总的来说 kotlin 是很值得学习的!

Read More

自定义 NavigationView 时StatusBarColor的小问题

04-10-2018 Tuesday

一般我们使用 Navigation Menu 的形式为

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.DrawerLayout
    android:id="@+id/drawer_layout"
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:fitsSystemWindows="true"
    tools:openDrawer="start">

    <include
        layout="@layout/app_bar_main"
        android:layout_width="match_parent"
        android:layout_height="match_parent"/>

    <android.support.design.widget.NavigationView
        android:id="@+id/nav_view"
        android:layout_width="wrap_content"
        android:layout_height="match_parent"
        android:layout_gravity="start"
        android:fitsSystemWindows="true"
        app:headerLayout="@layout/nav_header_main"
        app:menu="@menu/activity_main_drawer"/>

</android.support.v4.widget.DrawerLayout>

再加上 v21 的主题:

1
2
3
4
5
6
<style name="AppTheme.NoActionBar">
    <item name="windowActionBar">false</item>
    <item name="windowNoTitle">true</item>
    <item name="android:windowDrawsSystemBarBackgrounds">true</item>
    <item name="android:statusBarColor">@android:color/transparent</item>
</style>

这种最标准的形式, 运行的效果就是这样的:

这种效果看起来就好像状态栏浮在 NavigationLayout 之上, 感觉上会好很多

Read More

ExRecyclerView的使用介绍

04-07-2018 Saturday

ExRecyclerView ExRecyclerView 使用 Kotlin 编写

demo

很多时候我们在使用 RecyclerView 时, 总是会碰到需要设置一个 header 或者 footer 的情况, 比如我们要加一个显示加载更多的footer,跟随 RecyclerView 一起滑动的 header, 等等, 这种情况如果是 ListView 我们可以简单的使用

1
addHeaderView()
或者
1
addFooterView()
就可以解决, 但是 RecyclerView 就需要我们自己来进行处理. 虽然说不困难, 但是每次都要重新实现一遍就很麻烦了.

ExRecyclerView一共实现了3个功能:

  1. 能添加和删除 header 和 footer
  2. 滑到底部时回调加载更多
  3. 支持 Drag 和 Swipe 拖动 item 或者 swipe 删除 item (可以自定义拖动,滑动的样式)

ExRecyclerAdapter 是一个内置了 List 集合的 RecyclerAdapter, 每次改变数据都会主动进行相应的notify(也可以主动不进行 notify)

Read More

Jekyll语法高亮问题

04-03-2018 Tuesday

Jekyll 的语法高亮在 Jekyll 3.0 以上默认使用的是 Rouge, 如果使用的是 Jekyll 2, 需要在配置文件里面设置

1
highlighter
1
rouge
, 并确保 rouge 被正确的安装了

[表示此方法我没成功]


另外, 就是使用 Pygments, 这个需要使用 Python 来安装

如果你不想麻烦, 可以直接使用我的这个 syntax.css, 这个就是最后使用 pygments 生成的默认的代码高亮 css 文件

  • 把这个 syntax.css 放在

    1
    
    /assets/css/syntax.css
    

  • 1
    
    _include/head.html
    
    或者你自己的通用头文件里面添加 link

1
<link rel="stylesheet" href="/assets/css/highlight.css">
  • 然后再
    1
    
    _config.yml
    
    设置
    1
    
    highlight: true
    

Read More

Android Studio 发布Java项目到Maven/JCenter仓库

03-27-2018 Tuesday

为了方便自己和他人引用我所写的java库,发布到 Maven/JCenter 上是最好不过了,利己利人,本文主要参考了

使用Gradle发布项目到JCenter仓库

Git项目: Gradle Publish

虽然这篇已经很详细的,但是我在实际操作中还是碰到了一些问题,所以自己再整理一遍,方便以后查阅

Read More

Android Test Basics

03-26-2018 Monday

I developed Android for a while, but rarely used the test framework, instead generally used log for debugging and testing.. The right operation, the handling of abnormal conditions, the processing of boundary conditions, all rely on their own imagination, the code and application robustness can be imagined!

So it is necessary learning test framework, although it may be rarely used in the company, because you may not have time to write a test case. The workload of writing a test case is no less than an application function, but I still think the test is necessary for coding.

Read More

Get Started

03-05-2018 Monday

First GitHub Blog, it is built by jekyll + bootstrap !

Thanks github for Github Pages!

The Layout of this Blog refers Monkey Snatch Banana

Personal pages use resumecard

Read More

Lc3000

Read More

Lc2999

Read More

Lc2998

Read More

Lc2997

Read More

Lc2996

Read More

Lc2995

Read More

Lc2994

Read More

Lc2993

Read More

Lc2992

Read More

Lc2991

Read More

Lc2990

Read More

Lc2989

Read More

Lc2988

Read More

Lc2987

Read More

Lc2986

Read More

Lc2985

Read More

Lc2984

Read More

Lc2983

Read More

Lc2982

Read More

Lc2981

Read More

Lc2980

Read More

Lc2979

Read More

Lc2978

Read More

Lc2977

Read More

Lc2976

Read More

Lc2975

Read More

Lc2974

Read More

Lc2973

Read More

Lc2972

Read More

Lc2971

Read More

Lc2970

Read More

Lc2969

Read More

Lc2968

Read More

Lc2967

Read More

Lc2966

Read More

Lc2965

Read More

Lc2964

Read More

Lc2963

Read More

Lc2962

Read More

Lc2961

Read More

Lc2960

Read More

Lc2959

Read More

Lc2958

Read More

Lc2957

Read More

Lc2956

Read More

Lc2955

Read More

Lc2954

Read More

Lc2953

Read More

Lc2952

Read More

Lc2951

Read More

Lc2950

Read More

Lc2949

Read More

Lc2948

Read More

Lc2947

Read More

Lc2946

Read More

Lc2945

Read More

Lc2944

Read More

Lc2943

Read More

Lc2942

Read More

Lc2941

Read More

Lc2940

Read More

Lc2939

Read More

Lc2938

Read More

Lc2937

Read More

Lc2936

Read More

Lc2935

Read More

Lc2934

Read More

Lc2933

Read More

Lc2932

Read More

Lc2931

Read More

Lc2930

Read More

Lc2929

Read More

Lc2928

Read More

Lc2927

Read More

Lc2926

Read More

Lc2925

Read More

Lc2924

Read More

Lc2923

Read More

Lc2922

Read More

Lc2921

Read More

Lc2920

Read More

Lc2919

Read More

Lc2918

Read More

Lc2917

Read More

Lc2916

Read More

Lc2915

Read More

Lc2914

Read More

Lc2913

Read More

Lc2912

Read More

Lc2911

Read More

Lc2910

Read More

Lc2909

Read More

Lc2908

Read More

Lc2907

Read More

Lc2906

Read More

Lc2905

Read More

Lc2904

Read More

Lc2903

Read More

Lc2902

Read More

Lc2901

Read More

Lc2900

Read More

Lc2899

Read More

Lc2898

Read More

Lc2897

Read More

Lc2896

Read More

Lc2895

Read More

Lc2894

Read More

Lc2893

Read More

Lc2892

Read More

Lc2891

Read More

Lc2890

Read More

Lc2889

Read More

Lc2888

Read More

Lc2887

Read More

Lc2886

Read More

Lc2885

Read More

Lc2884

Read More

Lc2883

Read More

Lc2882

Read More

Lc2881

Read More

Lc2880

Read More

Lc2879

Read More

Lc2878

Read More

Lc2877

Read More

Lc2876

Read More

Lc2875

Read More

Lc2874

Read More

Lc2873

Read More

Lc2872

Read More

Lc2871

Read More

Lc2870

Read More

Lc2869

Read More

Lc2868

Read More

Lc2867

Read More

Lc2866

Read More

Lc2865

Read More

Lc2864

Read More

Lc2863

Read More

Lc2862

Read More

Lc2861

Read More

Lc2860

Read More

Lc2859

Read More

Lc2858

Read More

Lc2857

Read More

Lc2856

Read More

Lc2855

Read More

Lc2854

Read More

Lc2853

Read More

Lc2852

Read More

Lc2851

Read More

Lc2850

Read More

Lc2849

Read More

Lc2848

Read More

Lc2847

Read More

Lc2846

Read More

Lc2845

Read More

Lc2844

Read More

Lc2843

Read More

Lc2842

Read More

Lc2841

Read More

Lc2840

Read More

Lc2839

Read More

Lc2838

Read More

Lc2837

Read More

Lc2836

Read More

Lc2835

Read More

Lc2834

Read More

Lc2833

Read More

Lc2832

Read More

Lc2831

Read More

Lc2830

Read More

Lc2829

Read More

Lc2828

Read More

Lc2827

Read More

Lc2826

Read More

Lc2825

Read More

Lc2824

Read More

Lc2823

Read More

Lc2822

Read More

Lc2821

Read More

Lc2820

Read More

Lc2819

Read More

Lc2818

Read More

Lc2817

Read More

Lc2816

Read More

Lc2815

Read More

Lc2814

Read More

Lc2813

Read More

Lc2812

Read More

Lc2811

Read More

Lc2810

Read More

Lc2809

Read More

Lc2808

Read More

Lc2807

Read More

Lc2806

Read More

Lc2805

Read More

Lc2804

Read More

Lc2803

Read More

Lc2802

Read More

Lc2801

Read More

Lc2800

Read More

Lc2799

Read More

Lc2798

Read More

Lc2797

Read More

Lc2796

Read More

Lc2795

Read More

Lc2794

Read More

Lc2793

Read More

Lc2792

Read More

Lc2791

Read More

Lc2790

Read More

Lc2789

Read More

Lc2788

Read More

Lc2787

Read More

Lc2786

Read More

Lc2785

Read More

Lc2784

Read More

Lc2783

Read More

Lc2782

Read More

Lc2781

Read More

Lc2780

Read More

Lc2779

Read More

Lc2778

Read More

Lc2777

Read More

Lc2776

Read More

Lc2775

Read More

Lc2774

Read More

Lc2773

Read More

Lc2772

Read More

Lc2771

Read More

Lc2770

Read More

Lc2769

Read More

Lc2768

Read More

Lc2767

Read More

Lc2766

Read More

Lc2765

Read More

Lc2764

Read More

Lc2763

Read More

Lc2762

Read More

Lc2761

Read More

Lc2760

Read More

Lc2759

Read More

Lc2758

Read More

Lc2757

Read More

Lc2756

Read More

Lc2755

Read More

Lc2754

Read More

Lc2753

Read More

Lc2752

Read More

Lc2751

Read More

Lc2750

Read More

Lc2749

Read More

Lc2748

Read More

Lc2747

Read More

Lc2746

Read More

Lc2745

Read More

Lc2744

Read More

Lc2743

Read More

Lc2742

Read More

Lc2741

Read More

Lc2740

Read More

Lc2739

Read More

Lc2738

Read More

Lc2737

Read More

Lc2736

Read More

Lc2735

Read More

Lc2734

Read More

Lc2733

Read More

Lc2732

Read More

Lc2731

Read More

Lc2730

Read More

Lc2729

Read More

Lc2728

Read More

Lc2727

Read More

Lc2726

Read More

Lc2725

Read More

Lc2724

Read More

Lc2723

Read More

Lc2722

Read More

Lc2721

Read More

Lc2720

Read More

Lc2719

Read More

Lc2718

Read More

Lc2717

Read More

Lc2716

Read More

Lc2715

Read More

Lc2714

Read More

Lc2713

Read More

Lc2712

Read More

Lc2711

Read More

Lc2710

Read More

Lc2709

Read More

Lc2708

Read More

Lc2707

Read More

Lc2706

Read More

Lc2705

Read More

Lc2704

Read More

Lc2703

Read More

Lc2702

Read More

Lc2701

Read More

Lc2700

Read More

Lc2699

Read More

Lc2698

Read More

Lc2697

Read More

Lc2696

Read More

Lc2695

Read More

Lc2694

Read More

Lc2693

Read More

Lc2692

Read More

Lc2691

Read More

Lc2690

Read More

Lc2689

Read More

Lc2688

Read More

Lc2687

Read More

Lc2686

Read More

Lc2685

Read More

Lc2684

Read More

Lc2683

Read More

Lc2682

Read More

Lc2681

Read More

Lc2680

Read More

Lc2679

Read More

Lc2678

Read More

Lc2677

Read More

Lc2676

Read More

Lc2675

Read More

Lc2674

Read More

Lc2673

Read More

Lc2672

Read More

Lc2671

Read More

Lc2670

Read More

Lc2669

Read More

Lc2668

Read More

Lc2667

Read More

Lc2666

Read More

Lc2665

Read More

Lc2664

Read More

Lc2663

Read More

Lc2662

Read More

Lc2661

Read More

Lc2660

Read More

Lc2659

Read More

Lc2658

Read More

Lc2657

Read More

Lc2656

Read More

Lc2655

Read More

Lc2654

Read More

Lc2653

Read More

Lc2652

Read More

Lc2651

Read More

Lc2650

Read More

Lc2649

Read More

Lc2648

Read More

Lc2647

Read More

Lc2646

Read More

Lc2645

Read More

Lc2644

Read More

Lc2643

Read More

Lc2642

Read More

Lc2641

Read More

Lc2640

Read More

Lc2639

Read More

Lc2638

Read More

Lc2637

Read More

Lc2636

Read More

Lc2635

Read More

Lc2634

Read More

Lc2633

Read More

Lc2632

Read More

Lc2631

Read More

Lc2630

Read More

Lc2629

Read More

Lc2628

Read More

Lc2627

Read More

Lc2626

Read More

Lc2625

Read More

Lc2624

Read More

Lc2623

Read More

Lc2622

Read More

Lc2621

Read More

Lc2620

Read More

Lc2619

Read More

Lc2618

Read More

Lc2617

Read More

Lc2616

Read More

Lc2615

Read More

Lc2614

Read More

Lc2613

Read More

Lc2612

Read More

Lc2611

Read More

Lc2610

Read More

Lc2609

Read More

Lc2608

Read More

Lc2607

Read More

Lc2606

Read More

Lc2605

Read More

Lc2604

Read More

Lc2603

Read More

Lc2602

Read More

Lc2601

Read More

Lc2600

Read More

Lc2599

Read More

Lc2598

Read More

Lc2597

Read More

Lc2596

Read More

Lc2595

Read More

Lc2594

Read More

Lc2593

Read More

Lc2592

Read More

Lc2591

Read More

Lc2590

Read More

Lc2589

Read More

Lc2588

Read More

Lc2587

Read More

Lc2586

Read More

Lc2585

Read More

Lc2584

Read More

Lc2583

Read More

Lc2582

Read More

Lc2581

Read More

Lc2580

Read More

Lc2579

Read More

Lc2578

Read More

Lc2577

Read More

Lc2576

Read More

Lc2575

Read More

Lc2574

Read More

Lc2573

Read More

Lc2572

Read More

Lc2571

Read More

Lc2570

Read More

Lc2569

Read More

Lc2568

Read More

Lc2567

Read More

Lc2566

Read More

Lc2565

Read More

Lc2564

Read More

Lc2563

Read More

Lc2562

Read More

Lc2561

Read More

Lc2560

Read More

Lc2559

Read More

Lc2558

Read More

Lc2557

Read More

Lc2556

Read More

Lc2555

Read More

Lc2554

Read More

Lc2553

Read More

Lc2552

Read More

Lc2551

Read More

Lc2550

Read More

Lc2549

Read More

Lc2548

Read More

Lc2547

Read More

Lc2546

Read More

Lc2545

Read More

Lc2544

Read More

Lc2543

Read More

Lc2542

Read More

Lc2541

Read More

Lc2540

Read More

Lc2539

Read More

Lc2538

Read More

Lc2537

Read More

Lc2536

Read More

Lc2535

Read More

Lc2534

Read More

Lc2533

Read More

Lc2532

Read More

Lc2531

Read More

Lc2530

Read More

Lc2529

Read More

Lc2528

Read More

Lc2527

Read More

Lc2526

Read More

Lc2525

Read More

Lc2524

Read More

Lc2523

Read More

Lc2522

Read More

Lc2521

Read More

Lc2520

Read More

Lc2519

Read More

Lc2518

Read More

Lc2517

Read More

Lc2516

Read More

Lc2515

Read More

Lc2514

Read More

Lc2513

Read More

Lc2512

Read More

Lc2511

Read More

Lc2510

Read More

Lc2509

Read More

Lc2508

Read More

Lc2507

Read More

Lc2506

Read More

Lc2505

Read More

Lc2504

Read More

Lc2503

Read More

Lc2502

Read More

Lc2501

Read More

Lc2500

Read More

Lc2499

Read More

Lc2498

Read More

Lc2497

Read More

Lc2496

Read More

Lc2495

Read More

Lc2494

Read More

Lc2493

Read More

Lc2492

Read More

Lc2491

Read More

Lc2490

Read More

Lc2489

Read More

Lc2488

Read More

Lc2487

Read More

Lc2486

Read More

Lc2485

Read More

Lc2484

Read More

Lc2483

Read More

Lc2482

Read More

Lc2481

Read More

Lc2480

Read More

Lc2479

Read More

Lc2478

Read More

Lc2477

Read More

Lc2476

Read More

Lc2475

Read More

Lc2474

Read More

Lc2473

Read More

Lc2472

Read More

Lc2471

Read More

Lc2470

Read More

Lc2469

Read More

Lc2468

Read More

Lc2467

Read More

Lc2466

Read More

Lc2465

Read More

Lc2464

Read More

Lc2463

Read More

Lc2462

Read More

Lc2461

Read More

Lc2460

Read More

Lc2459

Read More

Lc2458

Read More

Lc2457

Read More

Lc2456

Read More

Lc2455

Read More

Lc2454

Read More

Lc2453

Read More

Lc2452

Read More

Lc2451

Read More

Lc2450

Read More

Lc2449

Read More

Lc2448

Read More

Lc2447

Read More

Lc2446

Read More

Lc2445

Read More

Lc2444

Read More

Lc2443

Read More

Lc2442

Read More

Lc2441

Read More

Lc2440

Read More

Lc2439

Read More

Lc2438

Read More

Lc2437

Read More

Lc2436

Read More

Lc2435

Read More

Lc2434

Read More

Lc2433

Read More

Lc2432

Read More

Lc2431

Read More

Lc2430

Read More

Lc2429

Read More

Lc2428

Read More

Lc2427

Read More

Lc2426

Read More

Lc2425

Read More

Lc2424

Read More

Lc2423

Read More

Lc2422

Read More

Lc2421

Read More

Lc2420

Read More

Lc2419

Read More

Lc2418

Read More

Lc2417

Read More

Lc2416

Read More

Lc2415

Read More

Lc2414

Read More

Lc2413

Read More

Lc2412

Read More

Lc2411

Read More

Lc2410

Read More

Lc2409

Read More

Lc2408

Read More

Lc2407

Read More

Lc2406

Read More

Lc2405

Read More

Lc2404

Read More

Lc2403

Read More

Lc2402

Read More

Lc2401

Read More

Lc2400

Read More

Lc2399

Read More

Lc2398

Read More

Lc2397

Read More

Lc2396

Read More

Lc2395

Read More

Lc2394

Read More

Lc2393

Read More

Lc2392

Read More

Lc2391

Read More

Lc2390

Read More

Lc2389

Read More

Lc2388

Read More

Lc2387

Read More

Lc2386

Read More

Lc2385

Read More

Lc2384

Read More

Lc2383

Read More

Lc2382

Read More

Lc2381

Read More

Lc2380

Read More

Lc2379

Read More

Lc2378

Read More

Lc2377

Read More

Lc2376

Read More

Lc2375

Read More

Lc2374

Read More

Lc2373

Read More

Lc2372

Read More

Lc2371

Read More

Lc2370

Read More

Lc2369

Read More

Lc2368

Read More

Lc2367

Read More

Lc2366

Read More

Lc2365

Read More

Lc2364

Read More

Lc2363

Read More

Lc2362

Read More

Lc2361

Read More

Lc2360

Read More

Lc2359

Read More

Lc2358

Read More

Lc2357

Read More

Lc2356

Read More

Lc2355

Read More

Lc2354

Read More

Lc2353

Read More

Lc2352

Read More

Lc2351

Read More

Lc2350

Read More

Lc2349

Read More

Lc2348

Read More

Lc2347

Read More

Lc2346

Read More

Lc2345

Read More

Lc2344

Read More

Lc2343

Read More

Lc2342

Read More

Lc2341

Read More

Lc2340

Read More

Lc2339

Read More

Lc2338

Read More

Lc2337

Read More

Lc2336

Read More

Lc2335

Read More

Lc2334

Read More

Lc2333

Read More

Lc2332

Read More

Lc2331

Read More

Lc2330

Read More

Lc2329

Read More

Lc2328

Read More

Lc2327

Read More

Lc2326

Read More

Lc2325

Read More

Lc2324

Read More

Lc2323

Read More

Lc2322

Read More

Lc2321

Read More

Lc2320

Read More

Lc2319

Read More

Lc2318

Read More

Lc2317

Read More

Lc2316

Read More

Lc2315

Read More

Lc2314

Read More

Lc2313

Read More

Lc2312

Read More

Lc2311

Read More

Lc2310

Read More

Lc2309

Read More

Lc2308

Read More

Lc2307

Read More

Lc2306

Read More

Lc2305

Read More

Lc2304

Read More

Lc2303

Read More

Lc2302

Read More

Lc2301

Read More

Lc2300

Read More

Lc2299

Read More

Lc2298

Read More

Lc2297

Read More

Lc2296

Read More

Lc2295

Read More

Lc2294

Read More

Lc2293

Read More

Lc2292

Read More

Lc2291

Read More

Lc2290

Read More

Lc2289

Read More

Lc2288

Read More

Lc2287

Read More

Lc2286

Read More

Lc2285

Read More

Lc2284

Read More

Lc2283

Read More

Lc2282

Read More

Lc2281

Read More

Lc2280

Read More

Lc2279

Read More

Lc2278

Read More

Lc2277

Read More

Lc2276

Read More

Lc2275

Read More

Lc2274

Read More

Lc2273

Read More

Lc2272

Read More

Lc2271

Read More

Lc2270

Read More

Lc2269

Read More

Lc2268

Read More

Lc2267

Read More

Lc2266

Read More

Lc2265

Read More

Lc2264

Read More

Lc2263

Read More

Lc2262

Read More

Lc2261

Read More

Lc2260

Read More

Lc2259

Read More

Lc2258

Read More

Lc2257

Read More

Lc2256

Read More

Lc2255

Read More

Lc2254

Read More

Lc2253

Read More

Lc2252

Read More

Lc2251

Read More

Lc2250

Read More

Lc2249

Read More

Lc2248

Read More

Lc2247

Read More

Lc2246

Read More

Lc2245

Read More

Lc2244

Read More

Lc2243

Read More

Lc2242

Read More

Lc2241

Read More

Lc2240

Read More

Lc2239

Read More

Lc2238

Read More

Lc2237

Read More

Lc2236

Read More

Lc2235

Read More

Lc2234

Read More

Lc2233

Read More

Lc2232

Read More

Lc2231

Read More

Lc2230

Read More

Lc2229

Read More

Lc2228

Read More

Lc2227

Read More

Lc2226

Read More

Lc2225

Read More

Lc2224

Read More

Lc2223

Read More

Lc2222

Read More

Lc2221

Read More

Lc2220

Read More

Lc2219

Read More

Lc2218

Read More

Lc2217

Read More

Lc2216

Read More

Lc2215

Read More

Lc2214

Read More

Lc2213

Read More

Lc2212

Read More

Lc2211

Read More

Lc2210

Read More

Lc2209

Read More

Lc2208

Read More

Lc2207

Read More

Lc2206

Read More

Lc2205

Read More

Lc2204

Read More

Lc2203

Read More

Lc2202

Read More

Lc2201

Read More

Lc2200

Read More

Lc2199

Read More

Lc2198

Read More

Lc2197

Read More

Lc2196

Read More

Lc2195

Read More

Lc2194

Read More

Lc2193

Read More

Lc2192

Read More

Lc2191

Read More

Lc2190

Read More

Lc2189

Read More

Lc2188

Read More

Lc2187

Read More

Lc2186

Read More

Lc2185

Read More

Lc2184

Read More

Lc2183

Read More

Lc2182

Read More

Lc2181

Read More

Lc2180

Read More

Lc2179

Read More

Lc2178

Read More

Lc2177

Read More

Lc2176

Read More

Lc2175

Read More

Lc2174

Read More

Lc2173

Read More

Lc2172

Read More

Lc2171

Read More

Lc2170

Read More

Lc2169

Read More

Lc2168

Read More

Lc2167

Read More

Lc2166

Read More

Lc2165

Read More

Lc2164

Read More

Lc2163

Read More

Lc2162

Read More

Lc2161

Read More

Lc2160

Read More

Lc2159

Read More

Lc2158

Read More

Lc2157

Read More

Lc2156

Read More

Lc2155

Read More

Lc2154

Read More

Lc2153

Read More

Lc2152

Read More

Lc2151

Read More

Lc2150

Read More

Lc2149

Read More

Lc2148

Read More

Lc2147

Read More

Lc2146

Read More

Lc2145

Read More

Lc2144

Read More

Lc2143

Read More

Lc2142

Read More

Lc2141

Read More

Lc2140

Read More

Lc2139

Read More

Lc2138

Read More

Lc2137

Read More

Lc2136

Read More

Lc2135

Read More

Lc2134

Read More

Lc2133

Read More

Lc2132

Read More

Lc2131

Read More

Lc2130

Read More

Lc2129

Read More

Lc2128

Read More

Lc2127

Read More

Lc2126

Read More

Lc2125

Read More

Lc2124

Read More

Lc2123

Read More

Lc2122

Read More

Lc2121

Read More

Lc2120

Read More

Lc2119

Read More

Lc2118

Read More

Lc2117

Read More

Lc2116

Read More

Lc2115

Read More

Lc2114

Read More

Lc2113

Read More

Lc2112

Read More

Lc2111

Read More

Lc2110

Read More

Lc2109

Read More

Lc2108

Read More

Lc2107

Read More

Lc2106

Read More

Lc2105

Read More

Lc2104

Read More

Lc2103

Read More

Lc2102

Read More

Lc2101

Read More

Lc2100

Read More

Lc2099

Read More

Lc2098

Read More

Lc2097

Read More

Lc2096

Read More

Lc2095

Read More

Lc2094

Read More

Lc2093

Read More

Lc2092

2092. Find All People With Secret

Read More

Lc2091

Read More

Lc2090

Read More

Lc2089

2089. Find Target Indices After Sorting Array

Read More

Lc2088

Read More

Lc2087

Read More

Lc2086

Read More

Lc2085

Read More

Lc2084

Read More

Lc2083

Read More

Lc2082

Read More

Lc2081

2081. Sum of k-Mirror Numbers

Read More

Lc2080

Read More

Lc2079

Read More

Lc2078

2078. Two Furthest Houses With Different Colors

Read More

Lc2077

Read More

Lc2076

2076. Process Restricted Friend Requests

Read More

Lc2075

Read More

Lc2074

Read More

Lc2073

2073. Time Needed to Buy Tickets

Read More

Lc2072

Read More

Lc2071

2071. Maximum Number of Tasks You Can Assign

Read More

Lc2070

Read More

Lc2069

Read More

Lc2068

Read More

Lc2067

Read More

Lc2066

Read More

Lc2065

2065. Maximum Path Quality of a Graph

Read More

Lc2064

Read More

Lc2063

Read More

Lc2062

Read More

Lc2061

2061. Number of Spaces Cleaning Robot Cleaned

Read More

Lc2060

2060. Check if an Original String Exists Given Two Encoded Strings

Read More

Lc2059

Read More

Lc2058

Read More

Lc2057

Read More

Lc2056

2056. Number of Valid Move Combinations On Chessboard

Read More

Lc2055

Read More

Lc2054

Read More

Lc2053

Read More

Lc2052

Read More

Lc2051

Read More

Lc2050

Read More

Lc2049

2049. Count Nodes With the Highest Score

Read More

Lc2048

Read More

Lc2047

Read More

Lc2046

Read More

Lc2045

Read More

Lc2044

Read More

Lc2043

Read More

Lc2042

Read More

Lc2041

Read More

Lc2040

Read More

Lc2039

Read More

Lc2038

Read More

Lc2037

Read More

Lc2036

Read More

Lc2035

Read More

Lc2034

2034. Stock Price Fluctuation

Read More

Lc2033

2033. Minimum Operations to Make a Uni-Value Grid

Read More

Lc2032

Read More

Lc2031

Read More

Lc2030

Read More

Lc2029

Read More

Lc2028

Read More

Lc2027

Read More

Lc2026

Read More

Lc2025

2025. Maximum Number of Ways to Partition an Array

Read More

Lc2024

Read More

Lc2023

Read More

Lc2022

Read More

Lc2021

Read More

Lc2020

Read More

Lc2019

2019. The Score of Students Solving Math Expression

Read More

Lc2018

Read More

Lc2017

Read More

Lc2016

Read More

Lc2015

Read More

Lc2014

Read More

Lc2013

Read More

Lc2012

Read More

Lc2011

Read More

Lc2010

Read More

Lc2009

Read More

Lc2008

Read More

Lc2007

2007. Find Original Array From Doubled Array

Read More

Lc2006

Read More

Lc2005

Read More

Lc2004

Read More

Lc2003

Read More

Lc2002

Read More

Lc2001

Read More

Lc2000

Read More

Lc1999

Read More

Lc1998

Read More

Lc1997

Read More

Lc1996

Read More

Lc1995

Read More

Lc1994

Read More

Lc1993

Read More

Lc1992

Read More

Lc1991

Read More

Lc1990

Read More

Lc1989

Read More

Lc1988

Read More

Lc1987

Read More

Lc1986

Read More

Lc1985

1985. Find the Kth Largest Integer in the Array

Read More

Lc1984

Read More

Lc1983

Read More

Lc1982

Read More

Lc1981

Read More

Lc1980

Read More

Lc1979

Read More

Lc1978

Read More

Lc1977

Read More

Lc1976

Read More

Lc1975

Read More

Lc1974

Read More

Lc1973

1973. Count Nodes Equal to Sum of Descendants

Read More

Lc1972

Read More

Lc1971

1971 Find if Path Exists in Graph

Read More

Lc1970

Read More

Lc1969

Read More

Lc1968

Read More

Lc1967

Read More

Lc1966

Read More

Lc1965

Read More

Lc1964

Read More

Lc1963

Read More

Lc1962

Read More

Lc1961

Read More

Lc1960

Read More

Lc1959

Read More

Lc1958

Read More

Lc1957

Read More

Lc1956

Read More

Lc1955

Read More

Lc1954

Read More

Lc1953

1953. Maximum Number of Weeks for Which You Can Work

Read More

Lc1952

Read More

Lc1951

Read More

Lc1950

Read More

Lc1949

Read More

Lc1948

Read More

Lc1947

Read More

Lc1946

Read More

Lc1945

Read More

Lc1944

1944. Number of Visible People in a Queue

Read More

Lc1943

Read More

Lc1942

Read More

Lc1941

Read More

Lc1940

Read More

Lc1939

Read More

Lc1938

Read More

Lc1937

Read More

Lc1936

Read More

Lc1935

Read More

Lc1934

Read More

Lc1933

Read More

Lc1932

Read More

Lc1931

Read More

Lc1930

Read More

Lc1929

1929 Concatenation of Array

Read More

Lc1928

Read More

Lc1927

Read More

Lc1926

Read More

Lc1925

Read More

Lc1924

Read More

Lc1923

Read More

Lc1922

Read More

Lc1921

Read More

Lc1920

1920 Build Array from Permutation

Read More

Lc1919

Read More

Lc1918

Read More

Lc1917

Read More

Lc1916

Read More

Lc1915

Read More

Lc1914

Read More

Lc1913

Read More

Lc1912

Read More

Lc1911

Read More

Lc1910

1910 Remove All Occurrences of a Substring

Read More

Lc1909

Read More

Lc1908

Read More

Lc1907

Read More

Lc1906

Read More

Lc1905

1905. Count Sub Islands

Read More

Lc1904

Read More

Lc1903

Read More

Lc1902

Read More

Lc1901

1901 Find a Peak Element II

Read More

Lc1900

Read More

Lc1899

Read More

Lc1898

Read More

Lc1897

Read More

Lc1896

Read More

Lc1895

Read More

Lc1894

Read More

Lc1893

Read More

Lc1892

Read More

Lc1891

1891. Cutting Ribbons

Read More

Lc1890

Read More

Lc1889

Read More

Lc1888

Read More

Lc1887

Read More

Lc1886

Read More

Lc1885

Read More

Lc1884

1884 Egg Drop With 2 Eggs and N Floors

Read More

Lc1883

Read More

Lc1882

1882. Process Tasks Using Servers

Read More

Lc1881

Read More

Lc1880

Read More

Lc1879

Read More

Lc1878

Read More

Lc1877

Read More

Lc1876

Read More

Lc1875

Read More

Lc1874

Read More

Lc1873

Read More

Lc1872

Read More

Lc1871

Read More

Lc1870

Read More

Lc1869

Read More

Lc1868

1868. Product of Two Run-Length Encoded Arrays

Read More

Lc1867

Read More

Lc1866

Read More

Lc1865

1865 Finding Pairs With a Certain Sum

Read More

Lc1864

Read More

Lc1863

Read More

Lc1862

Read More

Lc1861

1861 Rotating the Box

Read More

Lc1860

Read More

Lc1859

Read More

Lc1858

Read More

Lc1857

Read More

Lc1856

Read More

Lc1855

Read More

Lc1854

Read More

Lc1853

Read More

Lc1852

Read More

Lc1851

Read More

Lc1850

Read More

Lc1849

Read More

Lc1848

Read More

Lc1847

Read More

Lc1846

Read More

Lc1845

Read More

Lc1844

Read More

Lc1843

Read More

Lc1842

Read More

Lc1841

Read More

Lc1840

Read More

Lc1839

Read More

Lc1838

1838 Frequency of the Most Frequent Element

Read More

Lc1837

Read More

Lc1836

Read More

Lc1835

Read More

Lc1834

1834. Single-Threaded CPU

Read More

Lc1833

Read More

Lc1832

Read More

Lc1831

Read More

Lc1830

Read More

Lc1829

Read More

Lc1828

Read More

Lc1827

Read More

Lc1826

Read More

Lc1825

Read More

Lc1824

Read More

Lc1823

1823 Find the Winner of the Circular Game

Read More

Lc1822

1822 Sign of the Product of an Array

Read More

Lc1821

Read More

Lc1820

Read More

Lc1819

Read More

Lc1818

1818. Minimum Absolute Sum Difference

Read More

Lc1817

1817. Finding the Users Active Minutes

Read More

Lc1816

Read More

Lc1815

Read More

Lc1814

Read More

Lc1813

Read More

Lc1812

Read More

Lc1811

Read More

Lc1810

Read More

Lc1809

Read More

Lc1808

Read More

Lc1807

Read More

Lc1806

Read More

Lc1805

Read More

Lc1804

Read More

Lc1803

Read More

Lc1802

Read More

Lc1801

Read More

Lc1800

Read More

Lc1799

Read More

Lc1798

Read More

Lc1797

1797. Design Authentication Manager

Read More

Lc1796

Read More

Lc1795

Read More

Lc1794

Read More

Lc1793

Read More

Lc1792

Read More

Lc1791

Read More

Lc1790

Read More

Lc1789

Read More

Lc1788

Read More

Lc1787

Read More

Lc1786

Read More

Lc1785

1785. Minimum Elements to Add to Form a Given Sum

Read More

Lc1784

Read More

Lc1783

Read More

Lc1782

Read More

Lc1781

Read More

Lc1780

Read More

Lc1779

Read More

Lc1778

Read More

Lc1777

Read More

Lc1776

Read More

Lc1775

Read More

Lc1774

Read More

Lc1773

Read More

Lc1772

Read More

Lc1771

Read More

Lc1770

Read More

Lc1769

Read More

Lc1768

Read More

Lc1767

Read More

Lc1766

Read More

Lc1765

1765 Map of Highest Peak

Read More

Lc1764

Read More

Lc1763

Read More

Lc1762

1762 Buildings With an Ocean View

Read More

Lc1761

Read More

Lc1760

Read More

Lc1759

Read More

Lc1758

Read More

Lc1757

1757. Recyclable and Low Fat Products

Read More

Lc1756

Read More

Lc1755

Read More

Lc1754

Read More

Lc1753

Read More

Lc1752

Read More

Lc1751

1751. Maximum Number of Events That Can Be Attended II

Read More

Lc1750

Read More

Lc1749

Read More

Lc1748

1748. Sum of Unique Elements

Read More

Lc1747

Read More

Lc1746

Read More

Lc1745

Read More

Lc1744

Read More

Lc1743

1743. Restore the Array From Adjacent Pairs

Read More

Lc1742

Read More

Lc1741

Read More

Lc1740

Read More

Lc1739

Read More

Lc1738

Read More

Lc1737

Read More

Lc1736

Read More

Lc1735

Read More

Lc1734

Read More

Lc1733

Read More

Lc1732

Read More

Lc1731

Read More

Lc1730

Read More

Lc1729

Read More

Lc1728

Read More

Lc1727

Read More

Lc1726

Read More

Lc1725

Read More

Lc1724

Read More

Lc1723

Read More

Lc1722

Read More

Lc1721

1721 Swapping Nodes in a Linked List

Read More

Lc1720

Read More

Lc1719

Read More

Lc1718

Read More

Lc1717

Read More

Lc1716

Read More

Lc1715

Read More

Lc1714

Read More

Lc1713

Read More

Lc1712

Read More

Lc1711

Read More

Lc1710

Read More

Lc1709

Read More

Lc1708

Read More

Lc1707

Read More

Lc1706

Read More

Lc1705

Read More

Lc1704

Read More

Lc1703

Read More

Lc1702

Read More

Lc1701

Read More

Lc1700

Read More

Lc1699

Read More

Lc1698

Read More

Lc1697

Read More

Lc1696

1696 Jump Game VI

Read More

Lc1695

Read More

Lc1694

Read More

Lc1693

Read More

Lc1692

Read More

Lc1691

Read More

Lc1690

Read More

Lc1689

Read More

Lc1688

Read More

Lc1687

Read More

Lc1686

Read More

Lc1685

Read More

Lc1684

Read More

Lc1683

1683. Invalid Tweets

Read More

Lc1682

Read More

Lc1681

Read More

Lc1680

Read More

Lc1679

Read More

Lc1678

Read More

Lc1677

Read More

Lc1676

1676 Lowest Common Ancestor of a Binary Tree IV $

Read More

Lc1675

Read More

Lc1674

Read More

Lc1673

Read More

Lc1672

Read More

Lc1671

Read More

Lc1670

Read More

Lc1669

Read More

Lc1668

Read More

Lc1667

Read More

Lc1666

Read More

Lc1665

Read More

Lc1664

Read More

Lc1663

Read More

Lc1662

Read More

Lc1661

Read More

Lc1660

Read More

Lc1659

Read More

Lc1658

Read More

Lc1657

Read More

Lc1656

1656. Design an Ordered Stream

Read More

Lc1655

Read More

Lc1654

Read More

Lc1653

Read More

Lc1652

Read More

Lc1651

Read More

Lc1650

1650 Lowest Common Ancestor of a Binary Tree III $

Read More

Lc1649

Read More

Lc1648

Read More

Lc1647

1647 Minimum Deletions to Make Character Frequencies Unique

Read More

Lc1646

Read More

Lc1645

Read More

Lc1644

1644 Lowest Common Ancestor of a Binary Tree II $

Read More

Lc1643

Read More

Lc1642

Read More

Lc1641

Read More

Lc1640

Read More

Lc1639

Read More

Lc1638

Read More

Lc1637

Read More

Lc1636

Read More

Lc1635

Read More

Lc1634

Read More

Lc1633

Read More

Lc1632

Read More

Lc1631

Read More

Lc1630

1630 Arithmetic Subarrays

Read More

Lc1629

Read More

Lc1628

Read More

Lc1627

Read More

Lc1626

Read More

Lc1625

Read More

Lc1624

Read More

Lc1623

Read More

Lc1622

Read More

Lc1621

Read More

Lc1620

Read More

Lc1619

Read More

Lc1618

Read More

Lc1617

Read More

Lc1616

Read More

Lc1615

1615 Maximal Network Rank

Read More

Lc1614

1614 Maximum Nesting Depth of the Parentheses

Read More

Lc1613

Read More

Lc1612

Read More

Lc1611

Read More

Lc1610

Read More

Lc1609

Read More

Lc1608

Read More

Lc1607

Read More

Lc1606

Read More

Lc1605

Read More

Lc1604

Read More

Lc1603

1603 Design Parking System

Read More

Lc1602

Read More

Lc1601

Read More

Lc1600

Read More

Lc1599

Read More

Lc1598

Read More

Lc1597

Read More

Lc1596

Read More

Lc1595

Read More

Lc1594

Read More

Lc1593

1593 Split a String Into the Max Number of Unique Substrings

Read More

Lc1592

Read More

Lc1591

Read More

Lc1590

Read More

Lc1589

Read More

Lc1588

Read More

Lc1587

Read More

Lc1586

Read More

Lc1585

Read More

Lc1584

Read More

Lc1583

1583. Count Unhappy Friends

Read More

Lc1582

Read More

Lc1581

Read More

Lc1580

Read More

Lc1579

Read More

Lc1578

1578 Minimum Deletion Cost to Avoid Repeating Letters

Read More

Lc1577

Read More

Lc1576

1576 Replace All ?’s to Avoid Consecutive Repeating Characters

Read More

Lc1575

Read More

Lc1574

Read More

Lc1573

Read More

Lc1572

1572 Matrix Diagonal Sum

Read More

Lc1571

Read More

Lc1570

1570 Dot Product of Two Sparse Vectors $

Read More

Lc1569

Read More

Lc1568

Read More

Lc1567

1567. Maximum Length of Subarray With Positive Product

Read More

Lc1566

Read More

Lc1565

Read More

Lc1564

Read More

Lc1563

Read More

Lc1562

Read More

Lc1561

Read More

Lc1560

Read More

Lc1559

1559. Detect Cycles in 2D Grid

Read More

Lc1558

Read More

Lc1557

Read More

Lc1556

1556. Thousand Separator

Read More

Lc1555

Read More

Lc1554

1554. Strings Differ by One Character

Read More

Lc1553

Read More

Lc1552

Read More

Lc1551

Read More

Lc1550

Read More

Lc1549

Read More

Lc1548

Read More

Lc1547

Read More

Lc1546

Read More

Lc1545

Read More

Lc1544

Read More

Lc1543

Read More

Lc1542

Read More

Lc1541

1541. Minimum Insertions to Balance a Parentheses String

Read More

Lc1540

Read More

Lc1539

1539. Kth Missing Positive Number

Read More

Lc1538

Read More

Lc1537

Read More

Lc1536

Read More

Lc1535

Read More

Lc1534

Read More

Lc1533

Read More

Lc1532

Read More

Lc1531

1531 String Compression II

Read More

Lc1530

Read More

Lc1529

Read More

Lc1528

Read More

Lc1527

Read More

Lc1526

Read More

Lc1525

Read More

Lc1524

Read More

Lc1523

Read More

Lc1522

1522. Diameter of N-Ary Tree

Read More

Lc1521

Read More

Lc1520

Read More

Lc1519

Read More

Lc1518

Read More

Lc1517

Read More

Lc1516

Read More

Lc1515

1515. Best Position for a Service Centre

Read More

Lc1514

Read More

Lc1513

Read More

Lc1512

Read More

Lc1511

Read More

Lc1510

Read More

Lc1509

1509 Minimum Difference Between Largest and Smallest Value in Three Moves

Read More

Lc1508

Read More

Lc1507

Read More

Lc1506

Read More

Lc1505

Read More

Lc1504

Read More

Lc1503

Read More

Lc1502

Read More

Lc1501

Read More

Lc1500

Read More

Lc1499

Read More

Lc1498

1498. Number of Subsequences That Satisfy the Given Sum Condition

Read More

Lc1497

Read More

Lc1496

Read More

Lc1495

Read More

Lc1494

Read More

Lc1493

Read More

Lc1492

1492. The kth Factor of n

Read More

Lc1491

Read More

Lc1490

Read More

Lc1489

Read More

Lc1488

Read More

Lc1487

1487 Making File Names Unique

Read More

Lc1486

Read More

Lc1485

1485. Clone Binary Tree With Random Pointer

Read More

Lc1484

Read More

Lc1483

Read More

Lc1482

Read More

Lc1481

Read More

Lc1480

Read More

Lc1479

Read More

Lc1478

Read More

Lc1477

Read More

Lc1476

Read More

Lc1475

1475. Final Prices With a Special Discount in a Shop

Read More

Lc1474

Read More

Lc1473

Read More

Lc1472

1472 Design Browser History

Read More

Lc1471

Read More

Lc1470

1470 Shuffle the Array

Read More

Lc1469

Read More

Lc1468

Read More

Lc1467

Read More

Lc1466

Read More

Lc1465

Read More

Lc1464

Read More

Lc1463

Read More

Lc1462

Read More

Lc1461

Read More

Lc1460

1460. Make Two Arrays Equal by Reversing Sub-arrays

Read More

Lc1459

1459. Rectangles Area

Read More

Lc1458

Read More

Lc1457

1457 Pseudo-Palindromic Paths in a Binary Tree

Read More

Lc1456

Read More

Lc1455

Read More

Lc1454

Read More

Lc1453

Read More

Lc1452

Read More

Lc1451

Read More

Lc1450

Read More

Lc1449

Read More

Lc1448

1448 Count Good Nodes in Binary Tree

Read More

Lc1447

Read More

Lc1446

Read More

Lc1445

Read More

Lc1444

Read More

Lc1443

1443 Minimum Time to Collect All Apples in a Tree

Read More

Lc1442

Read More

Lc1441

441 Arranging Coins

Read More

Lc1440

Read More

Lc1439

1439 Find the Kth Smallest Sum of a Matrix With Sorted Rows

Read More

Lc1438

1438. Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit

Read More

Lc1437

Read More

Lc1436

Read More

Lc1435

Read More

Lc1434

Read More

Lc1433

Read More

Lc1432

Read More

Lc1431

Read More

Lc1430

Read More

Lc1429

Read More

Lc1428

1428. Leftmost Column with at Least a One

Read More

Lc1427

Read More

Lc1426

Read More

Lc1425

Read More

Lc1424

1424. Diagonal Traverse II

Read More

Lc1423

Read More

Lc1422

Read More

Lc1421

Read More

Lc1420

Read More

Lc1419

Read More

Lc1418

Read More

Lc1417

Read More

Lc1416

Read More

Lc1415

Read More

Lc1414

Read More

Lc1413

1413 Minimum Value to Get Positive Step by Step Sum

Read More

Lc1412

Read More

Lc1411

Read More

Lc1410

Read More

Lc1409

Read More

Lc1408

Read More

Lc1407

Read More

Lc1406

Read More

Lc1405

1405 Longest Happy String

Read More

Lc1404

Read More

Lc1403

Read More

Lc1402

Read More

Lc1401

Read More

Lc1400

1400. Construct K Palindrome Strings

Read More

Lc1399

Read More

Lc1398

Read More

Lc1397

Read More

Lc1396

1396 Design Underground System

Read More

Lc1395

Read More

Lc1394

Read More

Lc1393

Read More

Lc1392

1392 Longest Happy Prefix

Read More

Lc1391

Read More

Lc1390

Read More

Lc1389

1389. Create Target Array in the Given Order

Read More

Lc1388

Read More

Lc1387

Read More

Lc1386

1386 Cinema Seat Allocation

Read More

Lc1385

Read More

Lc1384

Read More

Lc1383

Read More

Lc1382

1382. Balance a Binary Search Tree

Read More

Lc1381

Read More

Lc1380

Read More

Lc1379

Read More

Lc1378

Read More

Lc1377

Read More

Lc1376

Read More

Lc1375

Read More

Lc1374

Read More

Lc1373

Read More

Lc1372

1372 Longest ZigZag Path in a Binary Tree

Read More

Lc1371

1371 Find the Longest Substring Containing Vowels in Even Counts

Read More

Lc1370

Read More

Lc1369

Read More

Lc1368

Read More

Lc1367

Read More

Lc1366

Read More

Lc1365

Read More

Lc1364

Read More

Lc1363

Read More

Lc1362

Read More

Lc1361

Read More

Lc1360

Read More

Lc1359

1359 Count All Valid Pickup and Delivery Options

给 n 笔订单,每笔订单都需要快递服务。

Read More

Lc1358

Read More

Lc1357

Read More

Lc1356

1356. Sort Integers by The Number of 1 Bits

Read More

Lc1355

Read More

Lc1354

Read More

Lc1353

1353. Maximum Number of Events That Can Be Attended

给你一个数组 events,其中 events[i] = [startDayi, endDayi] ,表示会议 i 开始于 startDayi ,结束于 endDayi 。

Read More

Lc1352

1352. Product of the Last K Numbers

Read More

Lc1351

1351 Count Negative Numbers in a Sorted Matrix

Read More

Lc1350

Read More

Lc1349

Read More

Lc1348

1348. Tweet Counts Per Frequency

Read More

Lc1347

1347 Minimum Number of Steps to Make Two Strings Anagram

Read More

Lc1346

Read More

Lc1345

Read More

Lc1344

1344. Angle Between Hands of a Clock

Read More

Lc1343

Read More

Lc1342

Read More

Lc1341

Read More

Lc1340

Read More

Lc1339

Read More

Lc1338

Read More

Lc1337

Read More

Lc1336

Read More

Lc1335

1335. Minimum Difficulty of a Job Schedule

Read More

Lc1334

Read More

Lc1333

Read More

Lc1332

1332 Remove Palindromic Subsequences

Read More

Lc1331

Read More

Lc1330

Read More

Lc1329

1329 Sort the Matrix Diagonally

Read More

Lc1328

1328. Break a Palindrome

Read More

Lc1327

Read More

Lc1326

1326 Minimum Number of Taps to Open to Water a Garden

Read More

Lc1325

Read More

Lc1324

Read More

Lc1323

Read More

Lc1322

Read More

Lc1321

Read More

Lc1320

Read More

Lc1319

1319. Number of Operations to Make Network Connected

Read More

Lc1318

Read More

Lc1317

Read More

Lc1316

Read More

Lc1315

Read More

Lc1314

1314. Matrix Block Sum

Read More

Lc1313

Read More

Lc1312

1312 Minimum Insertion Steps to Make a String Palindrome

Read More

Lc1311

Read More

Lc1310

Read More

Lc1309

Read More

Lc1308

Read More

Lc1307

Read More

Lc1306

Read More

Lc1305

1305. All Elements in Two Binary Search Trees

Read More

Lc1304

1304. Find N Unique Integers Sum up to Zero

Read More

Lc1303

Read More

Lc1302

Read More

Lc1301

Read More

Lc1300

Read More

Lc1299

Read More

Lc1298

Read More

Lc1297

1297. Maximum Number of Occurrences of a Substring

Read More

Lc1296

Read More

Lc1295

Read More

Lc1294

Read More

Lc1293

1293. Shortest Path in a Grid with Obstacles Elimination

Read More

Lc1292

Read More

Lc1291

Read More

Lc1290

Read More

Lc1289

Read More

Lc1288

Read More

Lc1287

Read More

Lc1286

1286. Iterator for Combination

Read More

Lc1285

Read More

Lc1284

Read More

Lc1283

Read More

Lc1282

1282 Group the People Given the Group Size They Belong To

Read More

Lc1281

1281 Subtract the Product and Sum of Digits of an Integer

Read More

Lc1280

Read More

Lc1279

Read More

Lc1278

Read More

Lc1277

1277 Count Square Submatrices with All Ones

Read More

Lc1276

Read More

Lc1275

1275 Find Winner on a Tic Tac Toe Game

Read More

Lc1274

1274. Number of Ships in a Rectangle

Read More

Lc1273

Read More

Lc1272

Read More

Lc1271

Read More

Lc1270

Read More

Lc1269

1269. Number of Ways to Stay in the Same Place After Some Steps

Read More

Lc1268

1268 Search Suggestions System

Read More

Lc1267

Read More

Lc1266

Read More

Lc1265

1265. Print Immutable Linked List in Reverse

Read More

Lc1264

Read More

Lc1263

Read More

Lc1262

Read More

Lc1261

Read More

Lc1260

Read More

Lc1259

Read More

Lc1258

Read More

Lc1257

Read More

Lc1256

Read More

Lc1255

Read More

Lc1254

1254 Number of Closed Islands

Read More

Lc1253

Read More

Lc1252

Read More

Lc1251

Read More

Lc1250

Read More

Lc1249

1249 Minimum Remove to Make Valid Parentheses

Read More

Lc1248

1248 Count Number of Nice Subarrays

Read More

Lc1247

Read More

Lc1246

Read More

Lc1245

1245. Tree Diameter

Read More

Lc1244

Design A Leaderboard

Read More

Lc1243

Read More

Lc1242

1242 Web Crawler Multithreaded $

Read More

Lc1241

1249 Minimum Remove to Make Valid Parentheses

Read More

Lc1240

Read More

Lc1239

1239 Maximum Length of a Concatenated String with Unique Characters

Read More

Lc1238

Read More

Lc1237

Read More

Lc1236

1236 Web Crawler $

Read More

Lc1235

1235 Maximum Profit in Job Scheduling

Read More

Lc1234

Read More

Lc1233

1233. Remove Sub-Folders from the Filesystem

Read More

Lc1232

Read More

Lc1231

Read More

Lc1230

Read More

Lc1229

Read More

Lc1228

Read More

Lc1227

Read More

Lc1226

Read More

Lc1225

Read More

Lc1224

Read More

Lc1223

Read More

Lc1222

Read More

Lc1221

Read More

Lc1220

Read More

Lc1219

Read More

Lc1218

1218. Longest Arithmetic Subsequence of Given Difference

Read More

Lc1217

Read More

Lc1216

1216. Valid Palindrome III

Read More

Lc1215

Read More

Lc1214

Read More

Lc1213

1213. Intersection of Three Sorted Arrays

Read More

Lc1212

Read More

Lc1211

Read More

Lc1210

Read More

Lc1209

1209 Remove All Adjacent Duplicates in String II

Read More

Lc1208

Read More

Lc1207

Read More

Lc1206

1206. Design Skiplist

Read More

Lc1205

Read More

Lc1204

Read More

Lc1203

Read More

Lc1202

1202. Smallest String With Swaps

Read More

Lc1201

Read More

Lc1200

1200. Minimum Absolute Difference

Read More

Lc1199

Read More

Lc1198

Read More

Lc1197

1197 Minimum Knight Moves

Read More

Lc1196

Read More

Lc1195

Read More

Lc1194

Read More

Lc1193

Read More

Lc1192

1192. Critical Connections in a Network

Read More

Lc1191

Read More

Lc1190

1190 Reverse Substrings Between Each Pair of Parentheses

Read More

Lc1189

1189 Maximum Number of Balloons

Read More

Lc1188

Read More

Lc1187

Read More

Lc1186

Read More

Lc1185

Read More

Lc1184

Read More

Lc1183

Read More

Lc1182

1182. Shortest Distance to Target Color

Read More

Lc1181

Read More

Lc1180

Read More

Lc1179

Read More

Lc1178

Number of Valid Words for Each Puzzle

Read More

Lc1177

Read More

Lc1176

Read More

Lc1175

Read More

Lc1174

Read More

Lc1173

Read More

Lc1172

Read More

Lc1171

Read More

Lc1170

Read More

Lc1169

1169 Invalid Transactions

Read More

Lc1168

1168. Optimize Water Distribution in a Village

Read More

Lc1167

Read More

Lc1166

Read More

Lc1165

Read More

Lc1164

Read More

Lc1163

1163 Last Substring in Lexicographical Order

Read More

Lc1162

Read More

Lc1161

1161 Maximum Level Sum of a Binary Tree

Read More

Lc1160

1160. Find Words That Can Be Formed by Characters

Read More

Lc1159

Read More

Lc1158

Read More

Lc1157

Read More

Lc1156

Read More

Lc1155

1155 Number of Dice Rolls With Target Sum

Read More

Lc1154

Read More

Lc1153

Read More

Lc1152

Read More

Lc1151

1151. Minimum Swaps to Group All 1’s Together

Read More

Lc1150

Read More

Lc1149

Read More

Lc1148

Read More

Lc1147

Read More

Lc1146

1146 Snapshot Array

Read More

Lc1145

Read More

Lc1144

Read More

Lc1143

1143 Longest Common Subsequence

Read More

Lc1142

Read More

Lc1141

Read More

Lc1140

Read More

Lc1139

Read More

Lc1138

Read More

Lc1137

1137. N-th Tribonacci Number

Read More

Lc1136

1136. Parallel Courses

Read More

Lc1135

Read More

Lc1134

Read More

Lc1133

Read More

Lc1132

Read More

Lc1131

Read More

Lc1130

Read More

Lc1129

Read More

Lc1128

Read More

Lc1127

Read More

Lc1126

Read More

Lc1125

Read More

Lc1124

Read More

Lc1123

1123. Lowest Common Ancestor of Deepest Leaves

Read More

Lc1122

Read More

Lc1121

Read More

Lc1120

Read More

Lc1119

Read More

Lc1118

Read More

Lc1117

Read More

Lc1116

Read More

Lc1115

Read More

Lc1114

Read More

Lc1113

Read More

Lc1112

Read More

Lc1111

Read More

Lc1110

1110. Delete Nodes And Return Forest

Read More

Lc1109

Read More

Lc1108

1108. Defanging an IP Address

Read More

Lc1107

Read More

Lc1106

Read More

Lc1105

Read More

Lc1104

1104. Path In Zigzag Labelled Binary Tree

Read More

Lc1103

Read More

Lc1102

1102. Path With Maximum Minimum Value

Read More

Lc1101

Read More

Lc1100

Read More

Lc1099

1099. Two Sum Less Than K

Read More

Lc1098

Read More

Lc1097

Read More

Lc1096

1096 Brace Expansion II

Read More

Lc1095

Read More

Lc1094

1094 Car Pooling

Read More

Lc1093

Read More

Lc1092

Read More

Lc1091

1091. Shortest Path in Binary Matrix

Read More

Lc1090

Read More

Lc1089

1089 Duplicate Zeros

Read More

Lc1088

Read More

Lc1087

Read More

Lc1086

Read More

Lc1085

Read More

Lc1084

Read More

Lc1083

Read More

Lc1082

Read More

Lc1081

1081 Smallest Subsequence of Distinct Characters

Read More

Lc1080

Read More

Lc1079

Read More

Lc1078

Read More

Lc1077

Read More

Lc1076

Read More

Lc1075

Read More

Lc1074

1074 Number of Submatrices That Sum to Target

Read More

Lc1073

Read More

Lc1072

Read More

Lc1071

1071 Greatest Common Divisor of Strings

Read More

Lc1070

Read More

Lc1069

Read More

Lc1068

Read More

Lc1067

Read More

Lc1066

Read More

Lc1065

Read More

Lc1064

Read More

Lc1063

Read More

Lc1062

Read More

Lc1061

Read More

Lc1060

1060. Missing Element in Sorted Array

Read More

Lc1059

Read More

Lc1058

Read More

Lc1057

Read More

Lc1056

Read More

Lc1055

Read More

Lc1054

Read More

Lc1053

1053. Previous Permutation With One Swap

Read More

Lc1052

Read More

Lc1051

Read More

Lc1050

Read More

Lc1049

Read More

Lc1048

1048. Longest String Chain

Read More

Lc1047

1047 Remove All Adjacent Duplicates In String

Read More

Lc1046

1046 Last Stone Weight

Read More

Lc1045

Read More

Lc1044

1044. Longest Duplicate Substring

Read More

Lc1043

Read More

Lc1042

Read More

Lc1041

Read More

Lc1040

Read More

Lc1039

Read More

Lc1038

1038 Binary Search Tree to Greater Sum Tree

Read More

Lc1037

Read More

Lc1036

Read More

Lc1035

Read More

Lc1034

1034. Coloring A Border

Read More

Lc1033

Read More

Lc1032

1032 Stream of Characters

Read More

Lc1031

Read More

Lc1030

Read More

Lc1029

1029 Two City Scheduling

Read More

Lc1028

1028 Recover a Tree From Preorder Traversal

Read More

Lc1027

Read More

Lc1026

1026 Maximum Difference Between Node and Ancestor

Read More

Lc1025

1025 Divisor Game

Read More

Lc1024

Read More

Lc1023

Read More

Lc1022

Read More

Lc1021

Read More

Lc1020

Read More

Lc1019

1019 Next Greater Node In Linked List

Read More

Lc1018

Read More

Lc1017

Read More

Lc1016

Read More

Lc1015

Read More

Lc1014

1014. Best Sightseeing Pair

Read More

Lc1013

1013 Partition Array Into Three Parts With Equal Sum

Read More

Lc1012

Read More

Lc1011

1011 Capacity To Ship Packages Within D Days

Read More

Lc1010

1010 Pairs of Songs With Total Durations Divisible by 60

Read More

Lc1009

Read More

Lc1008

1008 Construct Binary Search Tree from Preorder Traversal

Read More

Lc1007

Read More

Lc1006

Read More

Lc1005

Read More

Lc1004

1004 Max Consecutive Ones III

Read More

Lc1003

Read More

Lc1002

Read More

Lc1001

Read More

Lc1000

Read More

Lc0999

Read More

Lc0998

Read More

Lc0997

Read More

Lc0996

Read More

Lc0995

Read More

Lc0994

994 Rotting Oranges

Read More

Lc0993

993 Cousins in Binary Tree

Read More

Lc0992

992. Subarrays with K Different Integers

Read More

Lc0991

Read More

Lc0990

Read More

Lc0989

989. Add to Array-Form of Integer

Read More

Lc0988

Read More

Lc0987

987 Vertical Order Traversal of a Binary Tree

Read More

Lc0986

986 Interval List Intersections

Read More

Lc0985

985. Sum of Even Numbers After Queries

Read More

Lc0984

984 String Without AAA or BBB

Read More

Lc0983

983. Minimum Cost For Tickets

Read More

Lc0982

Read More

Lc0981

981 Time Based Key-Value Store

Read More

Lc0980

980. Unique Paths III

Read More

Lc0979

979 Distribute Coins in Binary Tree

Read More

Lc0978

Read More

Lc0977

977. Squares of a Sorted Array

Read More

Lc0976

Read More

Lc0975

Read More

Lc0974

974. Subarray Sums Divisible by K

Read More

Lc0973

973 K Closest Points from Origin

Read More

Lc0972

Read More

Lc0971

Read More

Lc0970

Read More

Lc0969

Read More

Lc0968

Read More

Lc0967

Read More

Lc0966

Read More

Lc0965

Read More

Lc0964

Read More

Lc0963

963. Minimum Area Rectangle II

Read More

Lc0962

Read More

Lc0961

Read More

Lc0960

Read More

Lc0959

Read More

Lc0958

958. Check Completeness of a Binary Tree

Read More

Lc0957

Read More

Lc0956

Read More

Lc0955

Read More

Lc0954

Read More

Lc0953

953. Verifying an Alien Dictionary

Read More

Lc0952

Read More

Lc0951

951. Flip Equivalent Binary Trees

Read More

Lc0950

Read More

Lc0949

Read More

Lc0948

Read More

Lc0947

947. Most Stones Removed with Same Row or Column

Read More

Lc0946

946 Validate Stack Sequence

Read More

Lc0945

945. Minimum Increment to Make Array Unique

Read More

Lc0944

Read More

Lc0943

Read More

Lc0942

Read More

Lc0941

Read More

Lc0940

Read More

Lc0939

939 Minimum Area Rectangle

Read More

Lc0938

938. Range Sum of BST

Read More

Lc0937

Read More

Lc0936

936. Stamping The Sequence

Read More

Lc0935

935 Knight Dialer

Read More

Lc0934

934 Shortest Bridge

Read More

Lc0933

Read More

Lc0932

932. Beautiful Array

Read More

Lc0931

931. Minimum Falling Path Sum

Read More

Lc0930

Read More

Lc0929

929 Unique Email Address

Read More

Lc0928

Read More

Lc0927

Read More

Lc0926

Read More

Lc0925

Read More

Lc0924

Read More

Lc0923

Read More

Lc0922

Read More

Lc0921

921 Minimum Add to Make Parentheses Valid

Read More

Lc0920

Read More

Lc0919

919. Complete Binary Tree Inserter

Read More

Lc0918

918. Maximum Sum Circular Subarray

Read More

Lc0917

917 Reverse Only Letters

Read More

Lc0916

Read More

Lc0915

915 Partition Array into Disjoint Intervals

Read More

Lc0914

Read More

Lc0913

Read More

Lc0912

912 Sort Array

Read More

Lc0911

Read More

Lc0910

Read More

Lc0909

909. Snakes and Ladders

Read More

Lc0908

Read More

Lc0907

907. Sum of Subarray Minimums

Read More

Lc0906

Read More

Lc0905

Read More

Lc0904

904 Fruits Into Basket

Read More

Lc0903

Read More

Lc0902

Read More

Lc0901

901. Online Stock Span

Read More

Lc0900

Read More

Lc0899

Read More

Lc0898

Read More

Lc0897

Read More

Lc0896

896. Monotonic Array

Read More

Lc0895

895 Maximum Frequency Stack

Read More

Lc0894

Read More

Lc0893

Read More

Lc0892

Read More

Lc0891

Read More

Lc0890

Read More

Lc0889

889 Construct Binary from Preorder and Postorder Traversal

Read More

Lc0888

Read More

Lc0887

887 Super Egg Drop

Read More

Lc0886

886 Possible Bipartition

Read More

Lc0885

Read More

Lc0884

Read More

Lc0883

Read More

Lc0882

Read More

Lc0881

Read More

Lc0880

Read More

Lc0879

Read More

Lc0878

Read More

Lc0877

Read More

Lc0876

876 Middle of the Linked List

Read More

Lc0875

875 Koko Eating Bananas

Read More

Lc0874

Read More

Lc0873

Read More

Lc0872

Read More

Lc0871

871. Minimum Number of Refueling Stops

Read More

Lc0870

Read More

Lc0869

Read More

Lc0868

868. Binary Gap

Read More

Lc0867

Read More

Lc0866

Read More

Lc0865

865. Smallest Subtree with all the Deepest Nodes

Read More

Lc0864

Read More

Lc0863

863 All Nodes Distance K in Binary Tree

Read More

Lc0862

862. Shortest Subarray with Sum at Least K

Read More

Lc0861

Read More

Lc0860

860 Lemonade Change

Read More

Lc0859

Read More

Lc0858

Read More

Lc0857

Read More

Lc0856

856. Score of Parentheses

Read More

Lc0855

855. Exam Room

Read More

Lc0854

Read More

Lc0853

Read More

Lc0852

852. Peak Index in a Mountain Array

Read More

Lc0851

Read More

Lc0850

Read More

Lc0849

Read More

Lc0848

Read More

Lc0847

847 Shortest Path Visiting All Nodes

Read More

Lc0846

846 Hand of Straights

Read More

Lc0845

Read More

Lc0844

844 Backspace String Compare

Read More

Lc0843

Read More

Lc0842

842 Split Array into Fibonacci Sequence

Read More

Lc0841

Read More

Lc0840

Read More

Lc0839

Read More

Lc0838

838 Push Dominoes

Read More

Lc0837

Read More

Lc0836

836 Rectangle Overlap

Read More

Lc0835

Read More

Lc0834

Read More

Lc0833

833 Find And Replace in String

Read More

Lc0832

Read More

Lc0831

831. Masking Personal Information

Read More

Lc0830

Read More

Lc0829

829. Consecutive Numbers Sum

Read More

Lc0828

Read More

Lc0827

827. Making A Large Island

Read More

Lc0826

Read More

Lc0825

825. Friends Of Appropriate Ages

Read More

Lc0824

824 Goat Latin

Read More

Lc0823

Read More

Lc0822

Read More

Lc0821

Read More

Lc0820

Read More

Lc0819

819 Most Common Word

Read More

Lc0818

Read More

Lc0817

Read More

Lc0816

Read More

Lc0815

815. Bus Routes

Read More

Lc0814

814 Binary Tree Pruning

Read More

Lc0813

Read More

Lc0812

Read More

Lc0811

811. Subdomain Visit Count

Read More

Lc0810

Read More

Lc0809

809. Expressive Words

Read More

Lc0808

Read More

Lc0807

Read More

Lc0806

Read More

Lc0805

Read More

Lc0804

804 - Unique Morse Code Words

Read More

Lc0803

Read More

Lc0802

Read More

Lc0801

Read More

Lc0800

Read More

Lc0799

Read More

Lc0798

Read More

Lc0797

797. All Paths From Source to Target

Read More

Lc0796

Read More

Lc0795

Read More

Lc0794

794 Valid Tic-Tac-Toe State

Read More

Lc0793

Read More

Lc0792

Read More

Lc0791

791. Custom Sort String

Read More

Lc0790

Read More

Lc0789

Read More

Lc0788

788. Rotated Digits

Read More

Lc0787

787 Cheapest Flights Within K Stops

Read More

Lc0786

Read More

Lc0785

785. Is Graph Bipartite

Read More

Lc0784

784. Letter Case Permutation

Read More

Lc0783

Read More

Lc0782

Read More

Lc0781

Read More

Lc0780

780. Reaching Points

Read More

Lc0779

779 K-th Symbol in Grammar

Read More

Lc0778

778. Swim in Rising Water

Read More

Lc0777

Read More

Lc0776

776 Split BST

Read More

Lc0775

Read More

Lc0774

Read More

Lc0773

773. Sliding Puzzle

Read More

Lc0772

772 Basic Calculator III

Read More

Lc0771

771 Jewels and Stones

Read More

Lc0770

770. Basic Calculator IV

Read More

Lc0769

769 Max Chunks to Make Sorted

Read More

Lc0768

768 Max Chunks To Make Sorted II

Read More

Lc0767

767 Reorganize String

Read More

Lc0766

766. Toeplitz Matrix

Read More

Lc0765

Read More

Lc0764

Read More

Lc0763

763. Partition Labels

Read More

Lc0762

Read More

Lc0761

761. Special Binary String

Read More

Lc0760

760 Find Anagram Mappings

Read More

Lc0759

759. Employee Free Time

Read More

Lc0758

Read More

Lc0757

757. Set Intersection Size At Least Two

Read More

Lc0756

Read More

Lc0755

Read More

Lc0754

Read More

Lc0753

Read More

Lc0752

752 Open the Lock

Read More

Lc0751

Read More

Lc0750

Read More

Lc0749

Read More

Lc0748

Read More

Lc0747

Read More

Lc0746

746 Min Cost Climbing Stairs

Read More

Lc0745

Read More

Lc0744

Read More

Lc0743

743 Network Delay Time

Read More

Lc0742

742. Closest Leaf in a Binary Tree

Read More

Lc0741

741. Cherry Pickup

Read More

Lc0740

740 Delete and Earn

Read More

Lc0739

739 Daily Temperatures

Read More

Lc0738

Read More

Lc0737

Read More

Lc0736

Read More

Lc0735

735 Asteroid Collision

一维数组正负数碰撞后剩下的,都为正或都为负

Read More

Lc0734

Read More

Lc0733

733 Flood Fill

Read More

Lc0732

Read More

Lc0731

731 My Calendar II

Read More

Lc0730

Read More

Lc0729

Read More

Lc0728

Read More

Lc0727

727 Minimum Window Subsequence

Read More

Lc0726

726. Number of Atoms

Read More

Lc0725

Read More

Lc0724

724. Find Pivot Index

Read More

Lc0723

Candy Crush

2D数组上消除

Read More

Lc0722

722 Remove Comments

Read More

Lc0721

721 Accounts Merge

Read More

Lc0720

Read More

Lc0719

719. Find K-th Smallest Pair Distance

Read More

Lc0718

718. Maximum Length of Repeated Subarray

Read More

Lc0717

717 1-bit and 2-bit Characters

Read More

Lc0716

716 Max Stack

Read More

Lc0715

715. Range Module

Read More

Lc0714

714. Best Time to Buy and Sell Stock with Transaction Fee

Read More

Lc0713

713 Subarray Product Less Than K

Read More

Lc0712

Read More

Lc0711

Read More

Lc0710

Read More

Lc0709

Read More

Lc0708

708 Insert into a Sorted Circular Linked List $

Read More

Lc0707

707 Design Linked List

Read More

Lc0706

706 Design HashMap

Read More

Lc0705

705 Design HashSet

Read More

Lc0704

Read More

Lc0703

703 Kth Largest Element in a Stream

Read More

Lc0702

702 Search in a Sorted Array of Unknown Size

Read More

Lc0701

Read More

Lc0700

Read More

Lc0699

Read More

Lc0698

698 Partition to K Equal Sum Subsets

Read More

Lc0697

697 Degree of an Array

Read More

Lc0696

Read More

Lc0695

695 Max Area of Island

Read More

Lc0694

694 Number of Distinct Islands

Read More

Lc0693

Read More

Lc0692

692 Top K Frequent Words

Read More

Lc0691

691. Stickers to Spell Word

Read More

Lc0690

Read More

Lc0689

689 Maximum Sum of 3 Non-Overlapping Subarrays

Read More

Lc0688

688. Knight Probability in Chessboard

Read More

Lc0687

Read More

Lc0686

Read More

Lc0685

Read More

Lc0684

Read More

Lc0683

Read More

Lc0682

Read More

Lc0681

681. Next Closest Time

Read More

Lc0680

680 Valid Palindrome II

Read More

Lc0679

679 24 Game

Read More

Lc0678

678 Valid Parenthesis String

Read More

Lc0677

Read More

Lc0676

Read More

Lc0675

Read More

Lc0674

674 Longest Continuous Increasing Subsequence

Read More

Lc0673

673. Number of Longest Increasing Subsequence

Read More

Lc0672

Read More

Lc0671

671. Second Minimum Node In a Binary Tree

Read More

Lc0670

670. Maximum Swap

Read More

Lc0669

669 - Trim a Binary Search Tree

Read More

Lc0668

Read More

Lc0667

Read More

Lc0666

Read More

Lc0665

Read More

Lc0664

Read More

Lc0663

Read More

Lc0662

662. Maximum Width of Binary Tree

Read More

Lc0661

Read More

Lc0660

Read More

Lc0659

Read More

Lc0658

658 Find K Closest Elements

Read More

Lc0657

657 Judge Route Cycle

Read More

Lc0656

Read More

Lc0655

655. Print Binary Tree

Read More

Lc0654

654 - Maximum Binary Tree

Read More

Lc0653

653 - 2Sum - Input is a BST

Read More

Lc0652

652 Find Duplicate Subtrees

Read More

Lc0651

Read More

Lc0650

Read More

Lc0649

Read More

Lc0648

Read More

Lc0647

647 Palindromic Substrings

Read More

Lc0646

Read More

Lc0645

645 Set Mismatch

Read More

Lc0644

Read More

Lc0643

643. Maximum Average Subarray I

Read More

Lc0642

642 Design Search Autocomplete System

Read More

Lc0641

Read More

Lc0640

Read More

Lc0639

639 Decode Ways II

Read More

Lc0638

Read More

Lc0637

637. Average of Levels in Binary Tree

Read More

Lc0636

636 Exclusive Time of Functions

Read More

Lc0635

635. Design Log Storage System

Read More

Lc0634

Read More

Lc0633

Read More

Lc0632

Read More

Lc0631

631. Design Excel Sum Formula

Read More

Lc0630

630 Course Schedule III

Read More

Lc0629

Read More

Lc0628

628 Maximum Product of Three Numbers

Read More

Lc0627

Read More

Lc0626

Read More

Lc0625

Read More

Lc0624

Read More

Lc0623

Read More

Lc0622

622 Design Circular Queue

Read More

Lc0621

621 - Task Scheduler

Read More

Lc0620

Read More

Lc0619

Read More

Lc0618

Read More

Lc0617

617 - Merge Two Binary Tree

Read More

Lc0616

616. Add Bold Tag in String

Read More

Lc0615

Read More

Lc0614

Read More

Lc0613

Read More

Lc0612

Read More

Lc0611

611 - Valid Triangle Number

Read More

Lc0610

Read More

Lc0609

Read More

Lc0608

608. Tree Node

Read More

Lc0607

Read More

Lc0606

Read More

Lc0605

605 Can Place Flowers

Read More

Lc0604

Read More

Lc0603

Read More

Lc0602

Read More

Lc0601

Read More

Lc0600

Read More

Lc0599

Read More

Lc0598

Read More

Lc0597

597. Friend Requests I: Overall Acceptance Rate

Read More

Lc0596

Read More

Lc0595

Read More

Lc0594

Read More

Lc0593

Read More

Lc0592

Read More

Lc0591

Read More

Lc0590

Read More

Lc0589

589 N-ary Tree Preorder Traversal

Read More

Lc0588

588 Design In-Memory File System $

Read More

Lc0587

Read More

Lc0586

Read More

Lc0585

585. Investments in 2016

Read More

Lc0584

Read More

Lc0583

583. Delete Operation for Two Strings

Read More

Lc0582

582. Kill Process

Read More

Lc0581

581 Shortest Unsorted Continuous Subarray

Read More

Lc0580

Read More

Lc0579

Read More

Lc0578

Read More

Lc0577

Read More

Lc0576

Read More

Lc0575

Read More

Lc0574

Read More

Lc0573

Read More

Lc0572

572 Subtree of Another Tree

Read More

Lc0571

Read More

Lc0570

Read More

Lc0569

Read More

Lc0568

568 Maximum Vacation Days

Read More

Lc0567

567. Permutation in String

Read More

Lc0566

Read More

Lc0565

Read More

Lc0564

Read More

Lc0563

563 Binary Tree Tilt

Read More

Lc0562

Read More

Lc0561

561 Array Partition I

Read More

Lc0560

560 - Subarray Sum Equals K

Read More

Lc0559

Read More

Lc0558

Read More

Lc0557

557 - Reverse Words in a String III

Read More

Lc0556

556 Next Greater Element III

Read More

Lc0555

Read More

Lc0554

554 Brick Wall

Read More

Lc0553

Read More

Lc0552

Read More

Lc0551

Read More

Lc0550

Read More

Lc0549

Read More

Lc0548

Read More

Lc0547

547 Number of Provinces/Friend Circles (同一意思)

Read More

Lc0546

546. Remove Boxes

Read More

Lc0545

545 Boundary of Binary Tree

Read More

Lc0544

Read More

Lc0543

543 Diameter of Binary Tree

Read More

Lc0542

542 01 Matrix

Read More

Lc0541

Read More

Lc0540

540 Single Element in a Sorted Array

Read More

Lc0539

Read More

Lc0538

538 Convert BST to Greater Tree

Read More

Lc0537

Read More

Lc0536

536. Construct Binary Tree from String

Read More

Lc0535

535 Encode and Decode TinyURL

Read More

Lc0534

Read More

Lc0533

Read More

Lc0532

532. K-diff Pairs in an Array

Read More

Lc0531

Read More

Lc0530

Read More

Lc0529

529 Minesweeper

Read More

Lc0528

528 Random Pick with Weight

Read More

Lc0527

Read More

Lc0526

Read More

Lc0525

525 Contiguous Array

Read More

Lc0524

524 Longest Word in Dictionary through Deleting

Read More

Lc0523

523 Continuous Subarray Sum

Read More

Lc0522

Read More

Lc0521

Read More

Lc0520

Read More

Lc0519

Read More

Lc0518

518 Coin Change 2

Read More

Lc0517

Read More

Lc0516

Longest Palindromic Subsequence

Read More

Lc0515

515 Find Largest Value in Each Tree Row

Read More

Lc0514

Read More

Lc0513

513 Find Bottom Left Tree Value

Read More

Lc0512

Read More

Lc0511

Read More

Lc0510

510. Inorder Successor in BST II

Read More

Lc0509

509 Fibonacci Number

Read More

Lc0508

508 Most Frequent Subtree Sum

Read More

Lc0507

Read More

Lc0506

Read More

Lc0505

505 The Maze II

Read More

Lc0504

Read More

Lc0503

503 Next Greater Element II

Read More

Lc0502

502. IPO

Read More

Lc0501

Read More

Lc0500

500 - Keyboard Row

Read More

Lc0499

499 The Maze III

Read More

Lc0498

498 Diagonal Traverse

Read More

Lc0497

Read More

Lc0496

496 Next Greater Element I

Read More

Lc0495

Read More

Lc0494

494 Target Sum

Read More

Lc0493

493. Reverse Pairs

Read More

Lc0492

Read More

Lc0491

Read More

Lc0490

490 The Maze

Read More

Lc0489

489. Robot Room Cleaner $

Read More

Lc0488

488 Zuma Game

Read More

Lc0487

Read More

Lc0486

Read More

Lc0485

Read More

Lc0484

Read More

Lc0483

483 Smallest Good Base

Read More

Lc0482

Read More

Lc0481

Read More

Lc0480

480. Sliding Window Median

Read More

Lc0479

Read More

Lc0478

Read More

Lc0477

477. Total Hamming Distance

Read More

Lc0476

Read More

Lc0475

Read More

Lc0474

Read More

Lc0473

473 Matchsticks to Square

Read More

Lc0472

472 Concatenated Words

给定一个 不含重复 单词的字符串数组 words ,返回 words 中的所有 连接词 。

Read More

Lc0471

Read More

Lc0470

Read More

Lc0469

Read More

Lc0468

468 Validate IP Address

Read More

Lc0467

Read More

Lc0466

Read More

Lc0465

465. Optimal Account Balancing

Read More

Lc0464

Read More

Lc0463

463 - Island Perimeter

Read More

Lc0462

462 Minimum Moves to Equal Array Elements II

Read More

Lc0461

461 Hamming Distance

Read More

Lc0460

460 LFU

Read More

Lc0459

459. Repeated Substring Pattern

Read More

Lc0458

Read More

Lc0457

Read More

Lc0456

456 132 Pattern

Read More

Lc0455

455 Assign Cookies

Read More

Lc0454

454. 4Sum II

Read More

Lc0453

453. Minimum Moves to Equal Array Elements

Read More

Lc0452

452 Minimum Number of Arrows to Burst Balloons

Read More

Lc0451

451 Sort Characters By Frequency

Read More

Lc0450

450 Delete Node in a BST

Read More

Lc0449

449 Serialize and Deserialize BST

Read More

Lc0448

448 Find All Numbers Disappeared in an Array

Read More

Lc0447

*447 - Number of Boomerangs

Read More

Lc0446

Read More

Lc0445

445 - Add Two Numbers II

Read More

Lc0444

Read More

Lc0443

443 String Compression

Read More

Lc0442

442 Find All Duplicates in an Array

Read More

Lc0441

Read More

Lc0440

440. K-th Smallest in Lexicographical Order

Read More

Lc0439

Read More

Lc0438

438 Find All Anagrams in a String

Read More

Lc0437

437 Path Sum III

Read More

Lc0436

436 Find Right Interval

Read More

Lc0435

435. Non-overlapping Intervals

Read More

Lc0434

Read More

Lc0433

433. Minimum Genetic Mutation

Read More

Lc0432

Read More

Lc0431

Read More

Lc0430

430 Flatten a Multilevel Doubly Linked List

Read More

Lc0429

429 N-ary Tree Level Order Traversal

Read More

Lc0428

428 Serialize and Deserialize N-ary Tree

Read More

Lc0427

427. Construct Quad Tree

Read More

Lc0426

426 Convert Binary Search Tree to Sorted Doubly Linked List

Read More

Lc0425

Read More

Lc0424

424 Longest Repeating Character Replacement

Read More

Lc0423

Read More

Lc0422

Read More

Lc0421

Read More

Lc0420

420 Strong Password Checker

Read More

Lc0419

419 Battleships in a Board

Read More

Lc0418

418. Sentence Screen Fitting

Read More

Lc0417

417 Pacific Atlantic Water Flow

Read More

Lc0416

416 Partition Equal Subset Sum

Read More

Lc0415

415 Add Strings

Read More

Lc0414

Read More

Lc0413

413. Arithmetic Slices

Read More

Lc0412

412 Fizz Buzz

Read More

Lc0411

Read More

Lc0410

410. Split Array Largest Sum

Read More

Lc0409

409 - Longest Palindrome

Read More

Lc0408

408. Valid Word Abbreviation

Read More

Lc0407

407 Trapping Rain Water II

Read More

Lc0406

406 Queue Reconstruction by Height

Read More

Lc0405

Read More

Lc0404

Read More

Lc0403

403 Frog Jump

Read More

Lc0402

402 Remove k Digits

Read More

Lc0401

Read More

Lc0400

400. Nth Digit

Read More

Lc0399

399 Evaluate Division

Read More

Lc0398

398 Random Pick Index

Read More

Lc0397

397 Integer Replacement

Read More

Lc0396

Read More

Lc0395

395 Longest Substring with At Least K Repeating Characters

Read More

Lc0394

394. Decode String

Read More

Lc0393

Read More

Lc0392

392 Is Subsequence

Read More

Lc0391

Read More

Lc0390

390 Elimination Game

Read More

Lc0389

389 - Find the Difference

Read More

Lc0388

Read More

Lc0387

387 - First Unique Character in a String

Read More

Lc0386

386 Lexicographical Numbers

Read More

Lc0385

Read More

Lc0384

384 Shuffle an Array

Read More

Lc0383

383 - Ransom Note

Read More

Lc0382

Read More

Lc0381

381 Insert Delete GetRandom O(1) - Duplicates allowed

Read More

Lc0380

380 Insert Delete GetRandom O(1)

Read More

Lc0379

Read More

Lc0378

378 Kth Smallest Element in a Sorted Matrix

Read More

Lc0377

377 Combination Sum IV

Read More

Lc0376

376. Wiggle Subsequence

Read More

Lc0375

Read More

Lc0374

374. Guess Number Higher or Lower

Read More

Lc0373

373 Find K Pairs with Smallest Sums

Read More

Lc0372

Read More

Lc0371

371 Sum of Two Integers

Read More

Lc0370

Read More

Lc0369

369 Plus One Linked List

Read More

Lc0368

368 Largest Divisible Subset

Read More

Lc0367

367. Valid Perfect Square

Read More

Lc0366

366 Find Leaves of Binary Tree

Read More

Lc0365

365. Water and Jug Problem

Read More

Lc0364

Read More

Lc0363

Read More

Lc0362

362 Design Hit Counter $

Read More

Lc0361

Read More

Lc0360

Read More

Lc0359

359 Logger Rate Limiter $

Read More

Lc0358

358. Rearrange String k Distance Apart

Read More

Lc0357

Read More

Lc0356

Read More

Lc0355

355 Design Twitter

Read More

Lc0354

Read More

Lc0353

Read More

Lc0352

352 Data Stream as Disjoint Intervals

Read More

Lc0351

Read More

Lc0350

350 Intersection of Two Arrays II

Read More

Lc0349

349 - Intersection of Two Arrays

Read More

Lc0348

348 Design Tic-Tac-Toe

Read More

Lc0347

347 - Top K Frequent Elements

Read More

Lc0346

346 Moving Average from Data Stream

Read More

Lc0345

345 - Reverse Vowels of a String

Read More

Lc0344

344 - Reverse String

Read More

Lc0343

343. Integer Break

Read More

Lc0342

Read More

Lc0341

341 - Flatten Nested List Iterator

Read More

Lc0340

340 Longest Substring with At Most K Distinct Characters $

Read More

Lc0339

339 Nested List Weight Sum

Read More

Lc0338

338 - Counting Bits

Read More

Lc0337

337 House Robber III

Read More

Lc0336

336 Palindrome Pairs

Read More

Lc0335

Read More

Lc0334

334. Increasing Triplet Subsequence

Read More

Lc0333

333. Largest BST Subtree

Read More

Lc0332

332 Reconstruct Itinerary

Read More

Lc0331

Read More

Lc0330

Read More

Lc0329

329 Longest Increasing Path in a Matrix

Read More

Lc0328

328 - Odd Even Linked List

Read More

Lc0327

Read More

Lc0326

Read More

Lc0325

325 Maximum Size Subarray Sum Equals k $

Read More

Lc0324

Read More

Lc0323

323 Number of Connected Components in an Undirected Graph

Read More

Lc0322

322 Coin Change

Read More

Lc0321

Read More

Lc0320

Read More

Lc0319

319 Bulb Switcher

Read More

Lc0318

318 Maximum Product of Word Lengths

Read More

Lc0317

317 Shortest Distance from All Buildings

Read More

Lc0316

316 - Remove Duplicate Letters

Read More

Lc0315

315 Count of Smaller Numbers After Self

Read More

Lc0314

314 Binary Tree Vertical Order Traversal $

Read More

Lc0313

313 Super Ugly Number

Read More

Lc0312

312 - Burst Balloons

Read More

Lc0311

311. Sparse Matrix Multiplication

Read More

Lc0310

310 Minimum Height Trees

Read More

Lc0309

309 Best Time to Buy and Sell Stock with Cooldown

Read More

Lc0308

308. Range Sum Query 2D - Mutable

Read More

Lc0307

307 Range Sum Query - Mutable

Read More

Lc0306

306 Additive Number

Read More

Lc0305

305 Number of Islands II

Read More

Lc0304

304 Range Sum Query 2D - Immutable

Read More

Lc0303

303 Range Sum Query - Immutable

Read More

Lc0302

Read More

Lc0301

301 Remove Invalid Parentheses

Read More

Lc0300

300 Longest Increasing Subsequence

Read More

Lc0299

299 Bulls and Cows

Read More

Lc0298

298 Binary Tree Longest Consecutive Sequence

Read More

Lc0297

297 Serialize and Deserialize Binary Tree

Read More

Lc0296

296 Best Meeting Point

Read More

Lc0295

295 Find Median from Data Stream

Read More

Lc0294

Read More

Lc0293

Read More

Lc0292

Read More

Lc0291

291. Word Pattern II

Read More

Lc0290

290 Word Pattern

Read More

Lc0289

289 Game of Life

Read More

Lc0288

Read More

Lc0287

287 Find the Duplicate Number

Read More

Lc0286

286. Walls and Gates

一个使用这三个可能值初始化的 m x n 网格房间。

Read More

Lc0285

285 Inorder Successor in BST

Read More

Lc0284

284 Peeking Iterator

Read More

Lc0283

283 Move Zeroes

Read More

Lc0282

282 Expression Add Operators

Read More

Lc0281

Read More

Lc0280

280 Wiggle Sort

Read More

Lc0279

279 - Perfect Squares

Read More

Lc0278

278 First Bad Version

Read More

Lc0277

277 Find the Celebrity

Read More

Lc0276

Read More

Lc0275

275 H-Index II

Read More

Lc0274

274 H-Index

Read More

Lc0273

273 Integer to English Words

Read More

Lc0272

272 Closest Binary Search Tree Value II

Read More

Lc0271

271 Encode and Decode Strings

Read More

Lc0270

270. Closest Binary Search Tree Value

Read More

Lc0269

269 Alien Dictionary

Read More

Lc0268

268 - Missing Number

Read More

Lc0267

267. Palindrome Permutation II

Read More

Lc0266

266 Palindrome Permutation

Read More

Lc0265

265 Paint House II

Read More

Lc0264

264 Ugly Number II

Read More

Lc0263

263 Ugly Number

Read More

Lc0262

Read More

Lc0261

261 Graph Valid Tree Medium $

Read More

Lc0260

260 - Single Number III

Read More

Lc0259

259 - 3Sum Smaller

Read More

Lc0258

258 Add Digits

Read More

Lc0257

257 Binary Tree Paths

Read More

Lc0256

256. Paint House

Read More

Lc0255

Read More

Lc0254

Read More

Lc0253

253 Meeting Rooms II

Read More

Lc0252

252 Meeting Rooms

Read More

Lc0251

251. Flatten 2D Vector

Read More

Lc0250

250 Count Univalue Subtrees

Read More

Lc0249

249. Group Shifted Strings

Read More

Lc0248

Read More

Lc0247

247 Strobogrammatic Number II

Read More

Lc0246

246 Strobogrammatic Number

Read More

Lc0245

Read More

Lc0244

244 Shortest Word Distance II $

Read More

Lc0243

243. Shortest Word Distance

Read More

Lc0242

242 - Valid Anagram

Read More

Lc0241

241 Different Ways to Add Parentheses

Read More

Lc0240

240 Search a 2D Matrix II

Read More

Lc0239

239 Sliding Window Maximum

Read More

Lc0238

238 Product of Array Except Self

Read More

Lc0237

237 - Delete Note in a Linked List

Read More

Lc0236

236 - Lowest Common Ancestor of Binary Tree

Read More

Lc0235

235 - Lowest Common Ancestor of a Binary Search Tree

Read More

Lc0234

234 - Palindrome Linked List

Read More

Lc0233

233 Number of Digit One

Read More

Lc0232

232 - Implement Queue using Stacks

Read More

Lc0231

231 - Power of Two

Read More

Lc0230

230 Kth Smallest Element in BST

Read More

Lc0229

229 Majority Element II

Read More

Lc0228

228 Summary Ranges

Read More

Lc0227

227 - Basic Calculator II

Read More

Lc0226

226 - Invert Binary Tree

Read More

Lc0225

225 Implement Stack using Queues

Read More

Lc0224

224 - Basic Calculator

Read More

Lc0223

223 Rectangle Area

Read More

Lc0222

222 Count Complete Tree Nodes

Read More

Lc0221

221 Maximal Square

Read More

Lc0220

Read More

Lc0219

219 Contains Duplicate II

Read More

Lc0218

218 The Skyline Problem

Read More

Lc0217

217 Contains Duplicate

Read More

Lc0216

Read More

Lc0215

215 Kth Largest Element in an Array

Read More

Lc0214

214 Shortest Palindrome

Read More

Lc0213

213 House Robber II

Read More

Lc0212

212 Word Search II

Read More

Lc0211

211 Design Add and Search Words Data Structure

Read More

Lc0210

210 Course Schedule II

Read More

Lc0209

209 Minimize Size SubArray Sum

Read More

Lc0208

208 Implement Trie (Prefix Tree)

Read More

Lc0207

207 Course Schedule

Read More

Lc0206

206 - Reverse Linked List

Read More

Lc0205

205 Isomorphic Strings

Read More

Lc0204

204 Count Primes

Read More

Lc0203

203 - Remove Linked List Elements

Read More

Lc0202

202 Happy Number

Read More

Lc0201

201. Bitwise AND of Numbers Range

Read More

Lc0200

200 Number of Islands

Read More

Lc0199

199 Binary Tree Right Side View

Read More

Lc0198

198 - House Robber

Read More

Lc0197

197 Rising Temperature

Read More

Lc0196

196 Delete Duplicate Emails

Read More

Lc0195

195. Tenth Line

Read More

Lc0194

194. Transpose File

Read More

Lc0193

193. Valid Phone Numbers

Read More

Lc0192

192. Word Frequency

Read More

Lc0191

191 - Number of 1 Bits

Read More

Lc0190

190 Reverse Bits

Read More

Lc0189

189 Rotate Array

Read More

Lc0188

188 Best Time to Buy and Sell Stock IV

Read More

Lc0187

187 - Repeated DNA Sequence

Read More

Lc0186

186 Reverse Words in a String II

Read More

Lc0185

185 Department Top 3 Salaries

Read More

Lc0184

184 Department Highest Salary

Read More

Lc0183

183 Customers Who Never Order

Read More

Lc0182

182 Duplicate Emails

Read More

Lc0181

181 Employees Earning More Than Their Managers

Read More

Lc0180

180 Consecutive Numbers

Read More

Lc0179

179 Largest Number

Read More

Lc0178

178 Rank Score

Read More

Lc0177

177 Nth Highest Salary

Read More

Lc0176

176 Second Highest Salary

Read More

Lc0175

175. Combine Two Tables

Read More

Lc0174

174 Dungeon Game

Read More

Lc0173

173 - Binary Search Tree Iterator

Read More

Lc0172

172 Factorial Trailing Zeros

Read More

Lc0171

171 Excel Sheet Column Number

Read More

Lc0170

170 - Two Sum III - Data Structure Design

Read More

Lc0169

169 - Majority Element

Read More

Lc0168

168 Excel Sheet Column Title

Read More

Lc0167

*167 - 2Sum II - Input Array is Sorted

Read More

Lc0166

166. Fraction to Recurring Decimal

Read More

Lc0165

165 Compare Version Number

Read More

Lc0164

164 Maximum Gap

Read More

Lc0163

163. Missing Ranges

Read More

Lc0162

162 Find Peak Element

Read More

Lc0161

161 One Edit Distance

Read More

Lc0160

160 - Intersection of Two Linked Lists

Read More

Lc0159

159 Longest Substring with At Most Two Distinct Characters

Read More

Lc0158

158 Read N Characters Given Read4 II - Call multiple times

Read More

Lc0157

157 Read N Characters Given Read4 $

Read More

Lc0156

156 Binary Tree Upside Down $

Read More

Lc0155

155 - Min Stack

Read More

Lc0154

154 - Find Minimum in Rotated Sorted Array II

Read More

Lc0153

153 - Find Minimum in Rotated Sorted Array

Read More

Lc0152

152 - Maximum Product Subarray

Read More

Lc0151

151 - Reverse Words in a String

Read More

Lc0150

150 - Evaluate Reverse Polish Notation

Read More

Lc0149

149 Max Point On a Line

Read More

Lc0148

148 - Sort List

Read More

Lc0147

* 147 - Insertion Sort List

Read More

Lc0146

146 LRU Cache

Read More

Lc0145

145 Binary Tree Postorder Traversal

Read More

Lc0144

144 Binary Tree Preorder Traversal

Read More

Lc0143

143 - Reorder List

Read More

Lc0142

142 - Linked List Cycle II

Read More

Lc0141

141 - Linked List Cycle

Read More

Lc0140

140 Word Break II

Read More

Lc0139

139 - Word Break

Read More

Lc0138

138 - Copy List with Random Pointer

Read More

Lc0137

137 - Single Number II

Read More

Lc0136

136 - Single Number

Read More

Lc0135

135 Candy

Read More

Lc0134

134 Gas Station

Read More

Lc0133

133 Clone Graph

Read More

Lc0132

Palindrome Partitioning II

Read More

Lc0131

131. Palindrome Partitioning

Read More

Lc0130

130 Surrounded Regions

Read More

Lc0129

129 Sum Root to Leaf Numbers

Read More

Lc0128

128 Longest Consecutive Sequence

Read More

Lc0127

127 Word Ladder

Read More

Lc0126

126 Word Ladder II

Read More

Lc0125

125 Valid Palindrome

Read More

Lc0124

124 - Binary Tree Maximum Path Sum

Read More

Lc0123

123 Best Time to Buy and Sell Stock III

Read More

Lc0122

122 Best Time to Buy and Sell Stock II

Read More

Lc0121

121 - Best Time to Buy and Sell Stock

Read More

Lc0120

120 - Triangle

Read More

Lc0119

119 - Pascal’s Triangle II

Read More

Lc0118

118 - Pascal’s Triangle

Read More

Lc0117

117 Populating Next Right Pointers in Each Node II

Read More

Lc0116

116 Populating Next Right Pointers in Each Node

Read More

Lc0115

115. Distinct Subsequences

Read More

Lc0114

114 Flatten Binary Tree to Linked List

Read More

Lc0113

113 Path Sum II

Read More

Lc0112

112 Path Sum

Read More

Lc0111

111 Minimum Depth of Binary Tree

Read More

Lc0110

110 - Balanced Binary Tree

Read More

Lc0109

109 Convert Sorted List to Binary Search Tree

Read More

Lc0108

108 - Convert Sorted Array to Binary Search Tree

Read More

Lc0107

107 Binary Tree Level Order Traversal II

Read More

Lc0106

106 Construct Binary Tree from Inorder and Postorder Traversal

Read More

Lc0105

105 Construct Binary Tree from Preorder and Inorder Traversal

Read More

Lc0104

104 - Maximum Depth of Binary Tree

Read More

Lc0103

103 Binary Tree Zigzag Level Order Traversal

Read More

Lc0102

102 Binary Tree Level Order Traversal

Read More

Lc0101

101 - Symmetric Tree

Read More

Lc0100

100 - Same Tree

Read More

Lc0099

99 Recover Binary Search Tree

Read More

Lc0098

98 Validate Binary Search Tree

Read More

Lc0097

97. Interleaving String

Read More

Lc0096

96 - Unique Binary Search Trees

Read More

Lc0095

95 - Unique Binary Search Trees II

Read More

Lc0094

94 Binary Tree Inorder Traversal

Read More

Lc0093

93 Restore IP Addresses

Read More

Lc0092

92 - Reverse Linked List II

Read More

Lc0091

91 Decode Ways

Read More

Lc0090

90 Subsets II

Read More

Lc0089

89 Gray Code

Read More

Lc0088

88 - Merge Sorted Array

Read More

Lc0087

87. Scramble String

Read More

Lc0086

86 - Partition List

Read More

Lc0085

85 - Maximum Rectangle

Read More

Lc0084

84 - Largest Rectangle in Histogram

Read More

Lc0083

83 - Remove Duplicates from Sorted List

Read More

Lc0082

82 - Remove Duplicates from Sorted List II

Read More

Lc0081

81 - Search in Rotated Sorted Array II

Read More

Lc0080

80 - Remove Duplicates from Sorted Array II

Read More

Lc0079

Read More

Lc0078

78 Subsets

Read More

Lc0077

77 Combinations

Read More

Lc0076

76 Minimum Window Substring

Read More

Lc0075

75 Sort Colors

Read More

Lc0074

74 Search a 2D Matrix

Read More

Lc0073

73 Set Matrix Zeroes

Read More

Lc0072

72 - Edit Distance

Read More

Lc0071

71. Simplify Path

Read More

Lc0070

70 - Climb Stairs

Read More

Lc0069

69 Sqrt(x)

Read More

Lc0068

68 Text Justification

Read More

Lc0067

67 - Add Binary

Read More

Lc0066

66 - Plus One

Read More

Lc0065

65 Valid Number

Read More

Lc0064

64 Minimum Path Sum

Read More

Lc0063

63 Unique Path II

Read More

Lc0062

62 - Unique Paths

Read More

Lc0061

61 - Rotate List

Read More

Lc0060

60. Permutation Sequence

Read More

Lc0059

59 Spiral Matrix II

Read More

Lc0058

58 Length of Last Word

Read More

Lc0057

57 Insert Interval

Read More

Lc0056

56 Merge Intervals

Read More

Lc0055

55 Jump Game

Read More

Lc0054

54 Spiral Matrix

Read More

Lc0053

53 - Maximum Subarray

Read More

Lc0052

52. N-Queens II

Read More

Lc0051

51 N-Queens

Read More

Lc0050

50 Power(x, n)

Read More

Lc0049

49 - Group Anagrams

Read More

Lc0048

48 Rotate Image

Read More

Lc0047

47 Permutations II

Read More

Lc0046

46 Permutations

Read More

Lc0045

45 Jump Game II

Read More

Lc0044

44 Wildcard Matching

Read More

Lc0043

43 - Multiply Strings

Read More

Lc0042

42 - Trapping Rain Water

Read More

Lc0041

41 First Missing Positive

Read More

Lc0040

40 Combination Sum II

Read More

Lc0039

39 Combination Sum

Read More

Lc0038

38 - Count and Say

Read More

Lc0037

37 Sudoku Solver

Read More

Lc0036

36 Valid Sudoku

Read More

Lc0035

* 35 - Search Insertion Position

Read More

Lc0034

34 Find First and Last Position of Element in Sorted Array (Search for a Range)

Read More

Lc0033

33 - Search in Rotated Sorted Array

Read More

Lc0032

32 Longest Valid Parentheses

Read More

Lc0031

31 Next Permutation

Read More

Lc0030

30 Substring with Concatenation of All Words

Read More

Lc0029

29 Divide Two Integers

Read More

Lc0028

28 - Implement substr

Read More

Lc0027

27 - Remove Element

Read More

Lc0026

26 - Remove Duplicates from Sorted Array

Read More

Lc0025

25 - Reverse Nodes in k-Group

Read More

Lc0024

24 - Swap Nodes in Pairs

Read More

Lc0023

23 Merge k Sorted Lists

Read More

Lc0022

22 - Generate Parentheses

Read More

Lc0021

21 Merge Two Sorted Lists

Read More

Lc0020

20 - Valid Parentheses

Read More

Lc0019

19 - Remove Nth Node From End of List

Read More

Lc0018

18 - 4Sum

Read More

Lc0017

17 - Letter Combinations of a Phone Number

Read More

Lc0016

16 - 3Sum Closest

Read More

Lc0015

15 - 3Sum

Read More

Lc0014

14 - Longest Common Prefix

Read More

Lc0013

13 - Roman to Integer

Read More

Lc0012

12 - Integer to Roman

Read More

Lc0011

11 Container With Most Water

Read More

Lc0010

10 - Regular Expression Matching

Read More

Lc0009

9 - Palindrome Number

Read More

Lc0008

8 - String to Integer(atoi)

Read More

Lc0007

7 - Reverse Integer

Read More

Lc0006

6 - ZigZag Conversion

Read More

Lc0005

5 - Longest Palindromic Substring

Read More

Lc0004

4 Median of Two Sorted Arrays

Read More

Lc0003

3 Longest Substring without Repeating Characters

原题概述

Read More

Lc0002

2 - Add Two Numbers

Read More

Lc0001

1 - 2Sum

Read More