huanbing
huanbing
全部文章
分类
Django框架学习(3)
Java后端(10)
JVM(1)
LeetCode(6)
Linux自动化运维(13)
Python3学习(2)
ssh框架(9)
中间件(1)
微服务系列(2)
数据存储(1)
数据结构与算法整理(3)
未归档(48)
架构设计(2)
树莓派 Python 环境搭建(1)
源码部分(10)
移动端开发(2)
算法(9)
蓝桥杯(3)
归档
标签
去牛客网
登录
/
注册
huanbing的博客
全部文章
(共126篇)
LeetCode 3. Longest Substring Without Repeating Characters
/* Given a string, find the length of the longest substring without repeating characters. Example 1: Input: “abcabcbb” Output: 3 Explanation: The an...
2018-11-11
0
517
LeetCode 2. Add Two Numbers
/* You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes co...
2018-11-10
0
345
LeetCode 20. Valid Parentheses
/* Given a string containing just the characters ‘(’, ‘)’, ‘{’, ‘}’, ‘[’ and ‘]’, determine if the input string is valid. An input string is valid if...
2018-11-10
0
570
LeetCode 21. Merge Two Sorted Lists
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. Example...
2018-11-10
0
379
2018年蓝桥杯B组c/c++ 第七题详解
标题:螺旋折线 如图p1.png所示的螺旋折线经过平面上所有整点恰好一次。 对于整点(X, Y),我们定义它到原点的距离dis(X, Y)是从原点到(X, Y)的螺旋折线段的长度。 例如dis(0, 1)=3, dis(-2, -1)=9 给出整点坐标(X, Y),你能计算出dis(X, Y)...
2018-11-08
0
455
2018年蓝桥杯B组c/c++ 第九题详解
标题:全球变暖 你有一张某海域NxN像素的照片,".“表示海洋、”#"表示陆地,如下所示: ....... .##.... .##.... ....##. ..####. ...###. ....... 其中"上下左右"四个方向上连在一起的一片陆地组成...
2018-11-07
0
417
2018年蓝桥杯B组c/c++ 第八题详解
标题:日志统计 小明维护着一个程序员论坛。现在他收集了一份"点赞"日志,日志共有N行。其中每一行的格式是: ts id 表示在ts时刻编号id的帖子收到一个"赞"。 现在小明想统计有哪些帖子曾经是"热帖"。如果一个帖子曾在任意一个长...
2018-11-07
0
515
2018年蓝桥杯B组c/c++ 第六题详解
标题:递增三元组 给定三个整数数组 A = [A1, A2, … AN], B = [B1, B2, … BN], C = [C1, C2, … CN], 请你统计有多少个三元组(i, j, k) 满足: 1 <= i, j, k <= N Ai < Bj < ...
2018-11-07
0
439
2018年蓝桥杯B组c/c++ 第三题详解
标题:乘积尾零 如下的10行数据,每行有10个整数,请你求出它们的乘积的末尾有多少个零? 5650 4542 3554 473 946 4114 3871 9073 90 4329 2758 7949 6113 5659 5245 7432 3051 4434 6704 3594 9937 11...
2018-11-07
0
453
2018年蓝桥杯B组c/c++ 第十题详解
标题:乘积最大 给定N个整数A1, A2, … AN。请你从中选出K个数,使其乘积最大。 请你求出最大的乘积,由于乘积可能超出整型范围,你只需输出乘积除以1000000009的余数。 注意,如果X<0, 我们定义X除以1000000009的余数是负(-X)除以1000000009的余数。...
2018-11-07
0
512
首页
上一页
4
5
6
7
8
9
10
11
12
13
下一页
末页