There are a total of n courses you have to take, labeled from 0 to n-1. Some courses may have prerequisites, for example to take course 0 you have to ...
分类:
其他好文 时间:
2020-02-03 13:33:02
阅读次数:
57
一、准备工作 首先新建一个空工程,springboot相关的整合都放在该工程下。 该空工程名称为spring-boot-example 创建好的空工程如下: 接着我们创建模块 注:使用Spring Initializr是从Spring.io上获取工程,需要保证电脑有网。 模块分组为com.sprin ...
分类:
编程语言 时间:
2020-02-03 09:20:26
阅读次数:
72
1 """ 2 Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). 3 For example, this binary tree [1,2,2,3,4,4,3] ...
分类:
其他好文 时间:
2020-02-02 23:54:27
阅读次数:
111
1. Objects&Class--对象&类 Object ? Objects have states and behaviors. An object is an instance of a class. Example: A dog has states - color, name, breed ...
分类:
其他好文 时间:
2020-02-02 23:47:07
阅读次数:
100
1 """ 2 Invert a binary tree. 3 Example: 4 Input: 5 4 6 / \ 7 2 7 8 / \ / \ 9 1 3 6 9 10 Output: 11 4 12 / \ 13 7 2 14 / \ / \ 15 9 6 3 1 16 """ 17 cl ...
分类:
其他好文 时间:
2020-02-02 23:46:38
阅读次数:
71
1 """ 2 For example, given 3 preorder = [3,9,20,15,7] 4 inorder = [9,3,15,20,7] 5 Return the following binary tree: 6 3 7 / \ 8 9 20 9 / \ 10 15 7 11 ...
分类:
其他好文 时间:
2020-02-02 23:34:00
阅读次数:
66
SharedPreference是一种轻量级的内部数据存储方式,采用Key/value的形式,只运行存储一些简单的数据,比如int,float等类型 首先先创建SharedPreference package com.example.sharedpreference; import androidx ...
分类:
移动开发 时间:
2020-02-02 13:40:44
阅读次数:
103
1 """ 2 Given a singly linked list, group all odd nodes together followed by the even nodes. Please note here we are talking about the node number and ...
分类:
其他好文 时间:
2020-02-01 23:19:31
阅读次数:
69
Given an increasing sequence S of N integers, the median is the number at the middle position. For example, the median of S1 = { 11, 12, 13, 14 } is 1 ...
分类:
其他好文 时间:
2020-02-01 16:07:53
阅读次数:
90
后台服务是 JSON-RPC 风格的,所以 Scenario 都是这样的Scenario: login successful When I set request body from "features/examples/login.json” When I send a POST request ... ...
分类:
Web程序 时间:
2020-02-01 12:32:05
阅读次数:
95