Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. Note: For the purpose of this problem, w ...
分类:
其他好文 时间:
2019-03-10 13:43:21
阅读次数:
150
Given preorder and inorder traversal of a tree, construct the binary tree. Note:You may assume that duplicates do not exist in the tree. For example, ...
分类:
其他好文 时间:
2019-03-10 09:53:03
阅读次数:
121
HDU 4832 Chess 思路:把行列的情况分别dp求出来。然后枚举行用几行,竖用几行,然后相乘累加起来就是答案 代码: #include <stdio.h> #include <string.h> #include <iostream> using namespace std; typedef ...
分类:
其他好文 时间:
2019-03-09 22:02:22
阅读次数:
192
linux 的规则: 1. linux 命令行组成结构:如下 2. linux系统命令操作语法的格式(命令的样子): 提示: 3. linux目录结构: 3.1 创建目录: 3.2 # 创建文件: 3.3 # 为 test.txt 增加内容 "i am studying linux": # 方法一: ...
分类:
系统相关 时间:
2019-03-08 09:40:04
阅读次数:
224
題目 Given a non-empty array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a linear ru ...
分类:
其他好文 时间:
2019-03-08 09:21:13
阅读次数:
234
工具链接:https://colab.research.google.com/ CoLaboratory 首先,访问 CoLaboratory 网站(http://g.co/colab)(国内可能需要tz),注册后接受使用该工具的邀请。确认邮件通常需要一天时间才能返回你的邮箱。CoLaborator ...
分类:
其他好文 时间:
2019-03-05 18:27:45
阅读次数:
317
Given preorder and inorder traversal of a tree, construct the binary tree. Note:You may assume that duplicates do not exist in the tree. For example, ...
分类:
其他好文 时间:
2019-03-04 09:23:18
阅读次数:
163
题目:把一个数组最开始的若干个元素搬到数组的末尾,我们称之为数组的旋转。 输入一个非减排序的数组的一个旋转,输出旋转数组的最小元素。 例如数组{3,4,5,1,2}为{1,2,3,4,5}的一个旋转,该数组的最小值为1。 NOTE:给出的所有元素都大于0,若数组大小为0,请返回0。 本人解题思路: ...
分类:
编程语言 时间:
2019-03-03 22:16:02
阅读次数:
239
第一周学习总结 =================== 第一周学习过程中所遇到的问题和解决方法 本周学习的内容 Note: 自学JAVA第一章 安装JDK:学习了如何安装JDK软件 应用码云 学习内容 JAVA第一章的内容主要是关于JAVA的简单介绍,如何安装JDK,简单的JAVA应用程序,了解了源 ...
分类:
其他好文 时间:
2019-03-03 22:13:34
阅读次数:
205
note : delet the default route of 11.7 and 12.4 first DNAT 地址变化记忆: user 和防火墙之间dst和src正常 防火墙到内网dst变为内网server地址 内网server 返回时,dst应为user地址,否则会被防火墙接受 SNAT ...
分类:
其他好文 时间:
2019-03-03 20:55:53
阅读次数:
180