码迷,mamicode.com
首页 >  
搜索关键字:two pointers    ( 12138个结果
[LC] 1214. Two Sum BSTs
Given two binary search trees, return True if and only if there is a node in the first tree and a node in the second tree whose values sum up to a giv ...
分类:其他好文   时间:2020-04-27 13:22:13    阅读次数:61
1111 Online Map
Input our current position and a destination, an online map can recommend several paths. Now your job is to recommend two paths to your user: one is t ...
分类:其他好文   时间:2020-04-26 19:22:16    阅读次数:72
A and B CodeForces - 1278B math
You are given two integers aa and bb. You can perform a sequence of operations: during the first operation you choose one of these numbers and increas ...
分类:其他好文   时间:2020-04-26 10:35:56    阅读次数:78
编写一个程序求解字谜游戏问题
问题描述:输入是由一些字母和单词构成的二维数组,目标是找出字谜中的单词,这些单词可以是水平、垂直或沿对角线以任何方向放置。 编写一个程序求解字谜游戏问题 t h i s 找出 this、two、fat、that w a t s o a h g f g d t 分析:方向有8种 1从左到右 2从右到左 ...
分类:其他好文   时间:2020-04-26 01:32:55    阅读次数:87
Codeforces Round #634 (Div. 3)
A. Candies and Two Sisters(水题) "所有题目链接" 代码 B. Construct the String(简单构造) 代码 D. Anti Sudoku(水题) ...
分类:其他好文   时间:2020-04-25 23:09:40    阅读次数:58
1113 Integer Set Partition
Given a set of N (>) positive integers, you are supposed to partition them into two disjoint sets A?1?? and A?2?? of n?1?? and n?2?? numbers, respecti ...
分类:其他好文   时间:2020-04-25 19:10:09    阅读次数:59
python 在类中从一个函数中调用另一个函数中的变量
class bldy(): def one (self): a = 5 return a # return 返回到self def two(self): b = 10 return b def sum(self, a, b): # 你给我两个参数,我就执行下面的方法 c = a + b return ...
分类:编程语言   时间:2020-04-25 17:36:52    阅读次数:266
数据框索引行
label1=['apple','orange','pear','banana'] label2=['one','two','three','four'] df=pd.DataFrame(np.arange(16).reshape(4,-1),index=label1,columns=label2) ...
分类:其他好文   时间:2020-04-24 01:53:43    阅读次数:109
Conway's Game of Life
https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life The universe of the Game of Life is an infinite, two-dimensional orthogonal grid of square cells ...
分类:其他好文   时间:2020-04-23 18:55:58    阅读次数:76
CTFHUB 信息泄露
可用扫描工具尝试扫描(disearch、御剑等) 目录遍历 Method One 直接手动遍历 Method Two PHPINFO 搜索flag 要注意下ctfhub后面有个空格,要删掉 备份文件下载 网站源码 拿disearch扫一下 可以发现www.zip,访问下载 可以发现里面有三个文件 u ...
分类:其他好文   时间:2020-04-23 12:26:09    阅读次数:124
12138条   上一页 1 ... 27 28 29 30 31 ... 1214 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!