摘要:
先来分析一下数学问题:先构造一个图: 0 1 0 1 2 1 2 1 矩阵 A = 1 0 1 1 矩阵A^2 = 1 3 1 2 ... 阅读全文
摘要:
题目一:来源2015年408计算机综合试题链接:https://www.nowcoder.com/questionTerminal/3241441c88f04ab58585a187716055d3 主机甲和主机乙新建一个TCP 连接,甲的拥塞控制初始阈值为 32KB,... 阅读全文
摘要:
Given n non-negative integers a1, a2, ..., an , where each represents a point at coordinate (i, ai). n vertical lines are drawn such t... 阅读全文
摘要:
输入一个矩阵,按照从外向里以顺时针的顺序依次打印出每一个数字,例如,如果输入如下4 X 4矩阵: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 则依次打印出数字1,2,3,4,8,12,16,15,14,13,9,5,6,7,11,10... 阅读全文
摘要:
给定一个字符串数组,让你找出前k个出现次数最多的字符串比如:输入:31 2 4 5 6 5 8 6 6 9输出:No.1:6, times:3No.2:5, times:2No.3:2, times:1输入:3 abc abc aaa snfh asnfdk aaa ... 阅读全文
摘要:
Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward.Example 1:Input: 1... 阅读全文
摘要:
转载自:https://blog.csdn.net/qq_26971803/article/details/51239515扩展学习例子查看:https://blog.csdn.net/ACM_TH/article/details/50993601 Spinner用法... 阅读全文
摘要:
比如字符串“dog loves pig”,翻转成“pig loves dog”“how are you”翻转成“you are how”思路是把字符串整体逆序,然后找到每个单词,再把每个单词的字符逆序一遍可是现在的面试要求就是不能用String,不能用库函数给定你的就... 阅读全文
摘要:
爱奇艺 2019校招 Android方向试卷在线考试编程题|20.0分2/2清雨的自助餐时间限制:C/C++语言 1000MS;其他语言 3000MS内存限制:C/C++语言 131072KB;其他语言 655360KB题目描述:清雨又在吃自助餐了。排在清雨面前的有N... 阅读全文
摘要:
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of th... 阅读全文