[leetcode]1379. Find a Corresponding Node of a Binary Tree in a Clone of That Tree 链接 "leetcode" 描述 Given two binary trees original and cloned and giv ...
分类:
其他好文 时间:
2020-03-25 19:39:53
阅读次数:
70
Calculate A + B. InputEach line will contain two integers A and B. Process to end of file. OutputFor each case, output A + B in one line. Sample Input ...
分类:
其他好文 时间:
2020-03-25 16:09:38
阅读次数:
100
Given a 2D grid, each cell is either a wall 2, a zombie 1 or people 0 (the number zero, one, two).Zombies can turn the nearest people(up/down/left/rig ...
分类:
其他好文 时间:
2020-03-25 10:53:03
阅读次数:
76
import pandas as pd pd.options.display.max_rows = 10 # 设置显示行数 df1 = pd.read_csv(r'E:\anacondatest\PythonData\高校信息.csv', encoding='gbk', index_col='学校名 ...
分类:
其他好文 时间:
2020-03-25 01:23:25
阅读次数:
90
A common pastime for poker players at a poker table is to shuffle stacks of chips. Shuffling chips is performed by starting with two stacks of poker c ...
分类:
其他好文 时间:
2020-03-25 01:13:56
阅读次数:
53
import pandas as pd pd.options.display.max_rows = 10 # 设置显示行数 df1 = pd.read_csv(r'E:\anacondatest\PythonData\PM25\Beijing_2009_HourlyPM25_created20140 ...
分类:
其他好文 时间:
2020-03-25 01:08:34
阅读次数:
63
import pandas as pd pd.options.display.max_rows = 10 # 设置显示行数 df1 = pd.read_csv(r'E:\anacondatest\PythonData\高校信息.csv', encoding='gbk', index_col='学校名 ...
分类:
其他好文 时间:
2020-03-25 01:05:00
阅读次数:
78
import pandas as pd pd.options.display.max_rows = 10 # 设置显示行数 #读入是直接指定索引 df1 = pd.read_csv(r'E:\anacondatest\PythonData\高校信息.csv', encoding='gbk', ind ...
分类:
其他好文 时间:
2020-03-24 21:39:38
阅读次数:
70
题目:传送门 题意: 给你一个长度为 N 的只由123 构成的字符串 a ,定义 Xi,j 满足: 思路: 推荐博客:博one 博two 第一个观察,最终的答案只可能是 0、1、2,然后,从 N = 2 起,Xi,j 就不存在 3 了,都是 0、1、2,那我们直接在输入的时候,就将 123 转换为 ...
分类:
其他好文 时间:
2020-03-23 16:48:55
阅读次数:
92
--用SQL统计SQLServer表存储空间大小 --遍历库中每个表的记录数及空间占用情况。 CREATE TABLE #tmp ( name varchar(50), --表名 rows int, --记录数 reserved varchar(50), --保留空间 data varchar(50 ...
分类:
数据库 时间:
2020-03-23 15:01:09
阅读次数:
91