我最想刷的递归又来啦,待我先去好好研究一下。 据说T124是T104的进阶,所以先去刷下104 104: 顶层: 即在真正的root节点上,我要返回的是一个数字,而且要比我的左右节点返回的深度大1 def maxDepth(self,root): return max(maxDepth(root.l ...
分类:
其他好文 时间:
2020-01-27 15:23:57
阅读次数:
81
Every email consists of a local name and a domain name, separated by the @ sign. For example, in , is the local name, and is the domain name. Besides ...
分类:
其他好文 时间:
2020-01-27 09:33:24
阅读次数:
73
上一篇帖子讲了用了哪些技术,这个帖子就先介绍介绍api项目吧,项目就是一个普通的webapi项目,账户系统用的identity ,什么是identity呢? 其实就是官方封装好的一系列的可以用来操作数据库的类,对用户信息进行增删改查。主要牵扯的类有如下几个: UserManager SignInMa ...
分类:
Web程序 时间:
2020-01-26 20:43:04
阅读次数:
86
一、简单描述表结构,字段类型 desc tabl_name; 显示表结构,字段类型,主键,是否为空等属性,但不显示外键。 例如:desc table_name 二、查询表中列的注释信息 select * from information_schema.columnswhere table_schem ...
分类:
数据库 时间:
2020-01-26 17:30:13
阅读次数:
91
666 2019_UNCTF main int __cdecl main(int argc, const char **argv, const char **envp) { char myen; // [rsp+0h] [rbp-1E0h] char myinput; // [rsp+F0h] [r ...
分类:
其他好文 时间:
2020-01-25 10:18:55
阅读次数:
436
浅拷贝:Object.assign(target, ...sources)。 :方法用于将所有可枚举属性的值从一个或多个源对象复制到目标对象,它将返回目标对象。 ...
分类:
其他好文 时间:
2020-01-24 15:51:02
阅读次数:
91
先实现一个bitmap /** * @Description: * @author: zhoum * @Date: 2020-01-23 * @Time: 10:49 */ public class BitMap { private int[] sign = {0x00000001,0x000000 ...
分类:
编程语言 时间:
2020-01-24 00:24:34
阅读次数:
96
在前三章中我们完成了登录窗口, 并掌握了使用Conductor来切换窗口, 但这些其实都是在为我们的系统打基础. 而本章中我们就要开始开发系统的核心功能, 即图书管理功能了. 通过本章, 我们会接触到以下知识点: 使用Stylet内置IoC 使用ViewModel First解耦UI 让我们开始吧! ...
有关 Java 中接口的使用相信程序员们都知道,但是你们知不知道接口到底有什么用呢?毫无疑问,接口的重要性远比想象中重要。接下来我们便一起来学习Java中接口使用。 Java接口是什么 Java接口是一系列方法的声明,是一些方法特征的集合,一个接口只有方法的特征没有方法的实现,因此这些方法可以在不同 ...
分类:
编程语言 时间:
2020-01-23 09:45:25
阅读次数:
159
Given the root of a tree, you are asked to find the most frequent subtree sum. The subtree sum of a node is defined as the sum of all the node values ...
分类:
其他好文 时间:
2020-01-23 09:17:11
阅读次数:
93