缺失的第一个正数。题意是给一个未排序的整数数组,找出其中没有出现的最小的正整数。例子, Example 1: Input: [1,2,0] Output: 3 Example 2: Input: [3,4,-1,1] Output: 2 Example 3: Input: [7,8,9,11,12] ...
分类:
其他好文 时间:
2020-03-06 10:59:55
阅读次数:
66
ASP.NET实现excel导入数据库原创Mr_周先生 最后发布于2018-03-27 18:56:02 展开1:说明:此方法建立在已经实现数据库的插入功能上 2:注解:2.1:新建一个文件夹存放excel文件(见example.aspx.cs的GetExcel()方法) 2.2:控件 2.3:ex ...
分类:
数据库 时间:
2020-03-06 10:41:47
阅读次数:
70
Command line instructions Git global setup git config --global user.name "Your Name" git config --global user.email ""you@example.com"" Create a new r ...
分类:
其他好文 时间:
2020-03-05 17:56:13
阅读次数:
63
Given a constant K and a singly linked list L, you are supposed to reverse the links of every K elements on L. For example, given L being 1→2→3→4→5→6, ...
分类:
其他好文 时间:
2020-03-05 13:49:20
阅读次数:
86
Given a binary tree, find the subtree with maximum average. Return the root of the subtree. Example 1 Input: {1,-5,11,1,2,4,-2} Output:11 Explanation: ...
分类:
其他好文 时间:
2020-03-05 13:42:34
阅读次数:
56
Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Example 1: Input: "babad" Output: ...
分类:
其他好文 时间:
2020-03-05 11:52:43
阅读次数:
60
<!DOCTYPE html> <html> <body> <p><b>Note:</b> This example only works in Firefox and Google Chrome.</p> <svg xmlns="http://www.w3.org/2000/svg" versio ...
分类:
其他好文 时间:
2020-03-05 11:50:02
阅读次数:
80
插件介绍 通用 Mapper 是一个可以实现任意 MyBatis 通用方法的框架,项目提供了常规的增删改查操作以及 Example 相关的单表操作。通用 Mapper 是为了解决 MyBatis 使用中 90% 的基本操作,PageHelper则提供通用的分页查询功能,使用它们可以很方便的进行开发, ...
分类:
移动开发 时间:
2020-03-05 11:49:14
阅读次数:
88
0. 个人信息 班级:计算1811 姓名:罗廷杨 学号:201821121013 1. 实验环境介绍 1.操作系统:Ubuntu 18.04.4 LTS 2.平台:虚拟机 2. 常用命令使用 1.pwd:查看当前所在目录 2.cd+路径:进入该路径 3.cd ..:返回上级 4.ls:查看当前目录下 ...
分类:
系统相关 时间:
2020-03-05 01:30:51
阅读次数:
129
211. 字符串置换 给定两个字符串,请设计一个方法来判定其中一个字符串是否为另一个字符串的置换。 置换的意思是,通过改变顺序可以使得两个字符串相等。 样例 Example 1: Input: "abcd", "bcad" Output: True Example 2: Input: "aac", ...
分类:
其他好文 时间:
2020-03-05 00:50:38
阅读次数:
92