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)
蓝桥杯(3)
归档
标签
去牛客网
登录
/
注册
huanbing的博客
全部文章
/ 算法
(共9篇)
LeetCode 11. Container With Most Water
原题链接 11. Container With Most Water, Given n non-negative integers a1, a2, …, an , where each represents a point at coordinate (i, ai). n vertical line...
2018-11-20
0
455
LeetCode 9. Palindrome Number
Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward. Example 1: Input: 121 Output: t...
2018-11-20
0
409
LeetCode 8. String to Integer (atoi)
LeetCode 8.String to Integer (atoi) Implement atoi which converts a string to an integer. The function first discards as many whitespace characters a...
2018-11-14
0
696
LeetCode 5. Longest Palindromic Substring
/* Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Example 1: Input: “babad” Out...
2018-11-11
0
420
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
2018年蓝桥杯B组c/c++ 第九题详解
标题:全球变暖 你有一张某海域NxN像素的照片,".“表示海洋、”#"表示陆地,如下所示: ....... .##.... .##.... ....##. ..####. ...###. ....... 其中"上下左右"四个方向上连在一起的一片陆地组成...
2018-11-07
0
418
2018年蓝桥杯B组c/c++ 第八题详解
标题:日志统计 小明维护着一个程序员论坛。现在他收集了一份"点赞"日志,日志共有N行。其中每一行的格式是: ts id 表示在ts时刻编号id的帖子收到一个"赞"。 现在小明想统计有哪些帖子曾经是"热帖"。如果一个帖子曾在任意一个长...
2018-11-07
0
515
LeetCode 1. Two Sum
LeetCode 1. Two Sum Problem Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume...
算法
2018-11-06
0
495