可能进不了大厂,但是还是要努力。 目前刷题主要是解决题目,关于复杂度的考量,emmm,下次一定。先做最简单的。。。。 题目描述 给出一个整数数组,请在数组中找出两个加起来等于目标值的数, 你给出的函数twoSum 需要返回这两个数字的下标(index1,index2),需要满足 index1 小于i ...
分类:
其他好文 时间:
2020-07-01 20:51:21
阅读次数:
71
24. Swap Nodes in Pairs https://leetcode.com/problems/linked-list-cycle/ Given a linked list, swap every two adjacent nodes and return its head. You m ...
分类:
其他好文 时间:
2020-06-29 22:41:37
阅读次数:
55
java two map left join - 国际版 Bing https://cn.bing.com/search?FORM=U227DF&PC=U227&q=java+two+map+left+join 两个不同的Java对象的“左连接”-代码日志 https://stackoverflow ...
分类:
编程语言 时间:
2020-06-29 20:07:22
阅读次数:
56
The piped stream are bidirectional communcation.Meanwhile they can read and write. Write the NamedPipeServerStream and NamedPipeClientStream in two di ...
题目链接:two-num 思路一:两层for循环暴力求解,结果超时 1 def twoSum(nums,target):#使用二维数组 2 for i in range(len(nums)): 3 for j in np.arange(i+1,len(nums)): 4 if(nums[i] + n ...
分类:
其他好文 时间:
2020-06-29 17:11:10
阅读次数:
41
#include <stdio.h>int main(){ int max(int x,int y); int a,b,c; printf("Please input two data:\n"); scanf("%d%d",&a,&b); c=max(a,b); printf("max is :%d ...
分类:
其他好文 时间:
2020-06-29 17:05:39
阅读次数:
202
Given two positive integers n and k. A factor of an integer n is defined as an integer i where n % i == 0. Consider a list of all factors of n sorted ...
分类:
其他好文 时间:
2020-06-29 10:05:07
阅读次数:
60
Multiply Strings (M) 题目 Given two non-negative integers num1 and num2 represented as strings, return the product of num1 and num2, also represented as ...
分类:
其他好文 时间:
2020-06-29 09:55:34
阅读次数:
55
[codeforces 1335C] Two Teams Composing 统计技能种类数量+统计同一技能最大数量 https://codeforces.com/contest/1335/problem/C 7 4 2 4 1 4 3 4 统计技能种类数量 4种不同技能 统计同一技能最大数量 技能 ...
分类:
其他好文 时间:
2020-06-28 22:18:27
阅读次数:
90
1.XML是一种可扩展标记语言,标签自定义;功能是存储数据-->做配置文件,在网络中传输;2.和HTML的区别:one:xml标签自定义,HTML标签是预定义two:xml语法严格,HTML语法松散three:xml是存储数据的,HTML是展示效果3.基本语法:one:xml文档的后缀名.xmltw ...
分类:
其他好文 时间:
2020-06-28 18:03:30
阅读次数:
96