腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
首页
学习
活动
专区
工具
TVP
最新优惠活动
返回腾讯云官网
计算机视觉与深度学习基础
专栏成员
举报
314
文章
207801
阅读量
58
订阅数
订阅专栏
申请加入专栏
全部文章(314)
编程算法(86)
return(57)
integer(23)
binary(21)
numbers(20)
dp(19)
function(19)
list(18)
node.js(16)
tree(15)
dfs(12)
element(12)
distinct(11)
duplicates(11)
space(11)
time(11)
algorithm(10)
input(10)
set(10)
map(9)
sum(9)
target(9)
each(8)
find(8)
int(8)
traversal(8)
其他(7)
深度学习(7)
matrix(7)
链表(7)
机器学习(6)
二叉树(6)
数据结构(6)
case(6)
nodes(6)
path(6)
unique(6)
图像处理(5)
combinations(5)
digits(5)
grid(5)
memory(5)
minimum(5)
null(5)
position(5)
root(5)
runtime(5)
search(5)
using(5)
排序(5)
c++(4)
add(4)
it(4)
leetcode(4)
point(4)
stock(4)
搜索(4)
tensorflow(3)
java(3)
bash(3)
数据库(3)
bash 指令(3)
人工智能(3)
http(3)
opencv(3)
area(3)
bit(3)
cycle(3)
exists(3)
line(3)
max(3)
min(3)
permutation(3)
pivot(3)
range(3)
sequence(3)
size(3)
stl(3)
string(3)
title(3)
transactions(3)
word(3)
统计(3)
sql(2)
神经网络(2)
容器(2)
存储(2)
游戏(2)
tcp/ip(2)
windows(2)
absolute(2)
arrays(2)
character(2)
click(2)
contains(2)
count(2)
data(2)
difference(2)
excel(2)
expression(2)
google(2)
hash(2)
height(2)
include(2)
marked(2)
median(2)
merge(2)
output(2)
palindrome(2)
process(2)
properties(2)
row(2)
share(2)
sort(2)
store(2)
this(2)
集合(2)
数组(2)
优化(2)
指针(2)
字符串(2)
python(1)
javascript(1)
xml(1)
css(1)
汇编语言(1)
ide(1)
git(1)
github(1)
api(1)
linux(1)
unix(1)
mapreduce(1)
数据库一体机 TData(1)
腾讯云测试服务(1)
网站(1)
express(1)
开源(1)
spark(1)
hadoop(1)
正则表达式(1)
面向对象编程(1)
自动化测试(1)
markdown(1)
大数据(1)
安全(1)
数据处理(1)
nat(1)
bat(1)
behavior(1)
button(1)
capture(1)
cat(1)
cell(1)
children(1)
colors(1)
configuration(1)
container(1)
copy(1)
definition(1)
devise(1)
diagram(1)
dictionary(1)
division(1)
figure(1)
file(1)
final(1)
flatten(1)
form(1)
friend(1)
handle(1)
homebrew(1)
image(1)
insert(1)
instance(1)
intervals(1)
lines(1)
lowercase(1)
mapping(1)
medium(1)
methods(1)
mock(1)
multiplication(1)
operators(1)
overflow(1)
parentheses(1)
pascal(1)
pointers(1)
product(1)
rectangles(1)
recursion(1)
rows(1)
series(1)
signature(1)
structure(1)
summary(1)
transform(1)
trie(1)
vector(1)
version(1)
wikipedia(1)
zero(1)
博客(1)
面试(1)
算法(1)
搜索文章
搜索
搜索
关闭
谷歌,微软,阿里,美团实习生面经
编程算法
机器学习
深度学习
神经网络
人工智能
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u012614906/article/details/80329098
triplebee
2019-05-25
876
0
Leetcode 275. H-Index II
编程算法
数据结构
Follow up for H-Index: What if the citations array is sorted in ascending order? Could you optimiz
triplebee
2018-03-27
505
0
Leetcode 279. Perfect Squares
编程算法
Given a positive integer n, find the least number of perfect square numbers (for example, 1, 4, 9, 16, ...) which sum to n. For example, given n = 12, return 3 because 12 = 4 + 4 + 4; given n = 13, return 2 because 13 = 4 + 9. 计算一个数最少由多少个完全平方数相加而成。
triplebee
2018-03-27
696
0
Leetcode 282. Expression Add Operators
编程算法
Given a string that contains only digits 0-9 and a target value, return all possibilities to add binary operators (not unary) +, -, or *between the digits so they evaluate to the target value. Examples: "123", 6 -> ["1+2+3", "1*2*3"] "232", 8 -> ["2
triplebee
2018-03-27
592
0
Leetcode 283. Move Zeroes
编程算法
Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements. For example, given nums = [0, 1, 0, 3, 12], after calling your function, nums should be [1, 3, 12, 0, 0]. Note: You
triplebee
2018-03-27
714
0
Leetcode 284. Peeking Iterator
编程算法
Given an Iterator class interface with methods: next() and hasNext(), design and implement a PeekingIterator that support the peek()operation -- it essentially peek() at the element that will be returned by the next call to next(). ---- Here is an exam
triplebee
2018-03-27
544
0
Leetcode 287. Find the Duplicate Number
编程算法
Given an array nums containing n + 1 integers where each integer is between 1 and n (inclusive), prove that at least one duplicate number must exist. Assume that there is only one duplicate number, find the duplicate one. Note: You must not modify the
triplebee
2018-03-27
828
0
Leetcode 289. Game of Life
编程算法
According to the Wikipedia's article: "The Game of Life, also known simply as Life, is a cellular automaton devised by the British mathematician John Horton Conway in 1970." Given a board with m by n cells, each cell has an initial state live (1) or dea
triplebee
2018-03-27
718
0
Leetcode 290. Word Pattern
编程算法
Given a pattern and a string str, find if str follows the same pattern. Here follow means a full match, such that there is a bijection between a letter in pattern and a non-empty word in str. Examples: pattern = "abba", str = "dog cat cat dog" shoul
triplebee
2018-03-27
658
0
Leetcode 292. Nim Game
编程算法
You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 to 3 stones. The one who removes the last stone will be the winner. You will take the first turn to remove the sto
triplebee
2018-03-27
687
0
Leetcode 295. Find Median from Data Stream
编程算法
Median is the middle value in an ordered integer list. If the size of the list is even, there is no middle value. So the median is the mean of the two middle value. Examples: [2,3,4] , the median is 3 [2,3], the median is (2 + 3) / 2 = 2.5 Design
triplebee
2018-03-27
680
0
Leetcode 297. Serialize and Deserialize Binary Tree
c++
编程算法
Serialization is the process of converting a data structure or object into a sequence of bits so that it can be stored in a file or memory buffer, or transmitted across a network connection link to be reconstructed later in the same or another computer en
triplebee
2018-03-27
842
0
Leetcode 299. Bulls and Cows
c++
编程算法
You are playing the following Bulls and Cows game with your friend: You write down a number and ask your friend to guess what the number is. Each time your friend makes a guess, you provide a hint that indicates how many digits in said guess match your s
triplebee
2018-03-27
691
0
Leetcode 300. Longest Increasing Subsequence
c++
编程算法
Given an unsorted array of integers, find the length of longest increasing subsequence. For example, Given [10, 9, 2, 5, 3, 7, 101, 18], The longest increasing subsequence is [2, 3, 7, 101], therefore the length is 4. Note that there may be more than
triplebee
2018-03-27
732
0
POJ2253 && ZOJ1942
编程算法
数据结构
两种写法 用floyd算法,求所有点之间的最大跳的最小值,最后输出a[0][1],即起始与终止位置的最小值,采用传递闭包的思路,时间复杂度较高,但代码简单。 或者Dijkstru的变形,两点间的最短距离,只是最短距离的求法有变,当前加入一个点时,松弛方法不同,时间复杂度降低了。 在数据结构编程实验一书上,看到二分的写法,感觉很巧妙。也是把三种写法都看一下,前两种为找到的代码,最后一种是自己写的。 floyd #include<stdio.h> #include<math.h>
triplebee
2018-01-12
502
0
HDU2066
编程算法
神坑的题目 思路就是枚举起点,迪杰斯特拉求最短路径,再枚举终点(如果起点终点一起枚举可能会超时,也能勉强扯上动态规划的思想吧),求最短路径。 如果剪枝可以加一个变量存最大的点,这样就不用每一次都循环到数据边界1000。 由于对自己很有自信,这题没有用模板写(事实是算法部分也没错,题目重边太坑),代码功能没分函数,整体有点乱。我是括号小王子O(∩_∩)O。 #include<iostream> #include<cstring> using namespace std; #define MAX 0xfff
triplebee
2018-01-12
607
0
水题第二弹题解
编程算法
改过的标题很具有迷惑性哦! A POJ3414本次代码量最大的一题,思想是搜索,详细解题报告,请见点击打开链接 B巨水,不要被题目迷惑了,连通图的性质最少需要(n-1)条边,所以可删 m-n+1条。 #include<iostream> #include<cstdio> using namespace std; int main() { int n,m; cin>>n>>m; for(int i=0;i<m;i++) { int a,b; sc
triplebee
2018-01-12
643
0
HDU4027
编程算法
本以为对线段树还是比较熟悉的,但是这题改变了我的想法。 顺着wk的题解做了这题。 拿到手就知道线段树,写完T,这时候我想起来蓝桥杯的线段树也是这样的吧,只不过那题对区间的操作是log,真可笑,当时还以为是cin写跪了,就这题看来,估计也那题没过几组数据,二等奖也在情理之中。 每次都更新到最底下会超时,每个数sqrt几次之后就会成为1,这时再开方是没有意义的,可以剪枝,如果区间长度等于区间和,说明区间没有必要更新,可以直接return。 此外还有好几个WA点 #include<cstdio> #include
triplebee
2018-01-12
565
0
2014ACM/ICPC亚洲赛上海赛区总结
编程算法
翘了中期检查来参赛心中有些害怕,前一天交待好后,12月5日下午来到上海,一行10人有说有笑,宾馆住下,晚上达神请吃饭,一切顺利。 12月6日下午开幕式,这次的领导讲话比较不同,幽默打趣,也了解了一些ACM在中国发展的历史。热身赛不幸又碰到了人品题,本着黑锅我来背的原则,从第8分钟开始到11分钟交了36发所有情况。后来发现直到第33发才是正确结果,而且由于评测机的问题,那一发成了36发中唯一没有判的。Kuangbin的模板功力深厚,所以其他题都是模板题,很遗憾没能做出来,据说
triplebee
2018-01-12
753
0
主席树POJ2104
编程算法
求区间第k大数是多少 用我惯用的线段树写法似乎不适合写主席树,看别人的代码好半天才看懂 用root表示每一个前缀树的根,思想大致是由第i-1个树构成的树建第i个树,由于加入一个数只需要log级别修改,所以建树效率很高。 主席树的精髓在于可持续化,就是说之前区间的信息不去修改它,递推加入新元素的时候,要新开log个空间来存储。因为主席树本身比较占用空间,只需改变这些空间的指向就可以重复利用不变的空间,达到节省空间的目的。 简而言之,主席树是一种重复利用数据不变的空间,建成空间上只有一颗完整的树,但逻辑上是多颗
triplebee
2018-01-12
640
0
点击加载更多
社区活动
【纪录片】中国数据库前世今生
穿越半个世纪,探寻中国数据库50年的发展历程
立即查看
Python精品学习库
代码在线跑,知识轻松学
立即查看
博客搬家 | 分享价值百万资源包
自行/邀约他人一键搬运博客,速成社区影响力并领取好礼
立即体验
技术创作特训营·精选知识专栏
往期视频·千货材料·成员作品 最新动态
立即查看
领券
问题归档
专栏文章
快讯文章归档
关键词归档
开发者手册归档
开发者手册 Section 归档