登录
|
注册
公司
标签
文章
搜索
穷举
热门公司
网易
百度
微软
华为
腾讯
google
热门职位
研发工程师
C语言工程师
所有
有回答
没回答
新题目
有最佳答案
排序
热度
·
时间
·
经典指数
1
0
1631
N!表示 1*2*…*N。求 1024!的末尾有多少个0?比如10!=3628800末尾有两个0。 113 253 1023 1024 ...
阅读题目
google
穷举
单选题
经典指数
1
0
2527
有n*n个正方形格子,每个格子里有正数或者0,从最左上角往最右下角走,只能向下和向右走。一共走两次,把所有经过的格子的数加起来,求最大值。且两次如果经过同一个格子,则该格子的数只加一次。 ...
阅读题目
搜狐
穷举
问答题
经典指数
1
0
2126
Given a non-empty tree with root R, and with weight Wi assigned to each tree node Ti . The weight of a path from R to L is defined to be the sum of the weights of all the nodes along the path from R to any leaf node L. Now given any weighted tree, you are supposed to find all the paths with their weights equal to a given number. For example, let's consider the tree showed in Figure 1: for each node, the upper number is the node ID which is a two-digit number, and the lower number is the weig ...
阅读题目
递归
穷举
面试题
经典指数
1
0
11123
有一个XxY的网格,一个机器人只能走格点且只能向右或向下走,要从左上角走到右下角。请设计一个算法,计算机器人有多少种走法。注意这次的网格中有些障碍点是不能走的。 给定一个int[][] map(C++ 中为vector >),表示网格图,若map[i][j]为1则说明该点不是障碍点,否则则为障碍。另外给定int x,int y,表示网格的大小。请返回机器人从(0,0)走到(x - 1,y - 1)的走法数,为了防止溢出,请将结果Mod 1000000007。保证x和y均小于等于50 ...
阅读题目
树
动态规划
递归
图
基础知识
哈希
字符串
复杂度
数组
链表
查找
堆
栈
排序
分治
模拟
贪心
队列
穷举
数据结构
面试题
经典指数
1
0
3207
有一排台阶,每个台阶上有一个非负整数,代表在该台阶上时能最多向前跳几个台阶。从第0个台阶开始跳,实现一个函数,判断是否能到达最后一个台阶。 例如: 4 2 2 1 0 2 返回 false 2 1 3 1 1 0 返回 true bool jump(int array[], int size) { } ...
阅读题目
2015
人人网
研发工程师
穷举
问答题
经典指数
1
0
1560
给一个定义:对一个整数,若其中存在相邻两位上的数字相同,则称其为“重复的数”;现给定一个正整数n,求不小于n的最小的非“重复的数”。 ...
阅读题目
百度
穷举
问答题
经典指数
1
0
2732
给出一个函数来输出一个字符串的所有排列。 ...
阅读题目
微软
链表
组合数学
穷举
问答题
经典指数
1
0
2137
连续整数之和为1000的共有几组?(m,n都为正整数) 3 4 5 8 ...
阅读题目
微软
穷举
单选题
经典指数
1
0
1508
Given any string of N (>=5) characters, you are asked to form the characters into the shape of U. For example, "helloworld" can be printed as: h d e l l r lowo That is, the characters must be printed in the original order, starting top-down from the left vertical line with n1 characters, then left to right along the bottom line with n2 characters, and finally bottom-up along the vertical line with n3 characters. And more, we would like U to be as squared as possible -- that is, it must be ...
阅读题目
穷举
模拟
面试题
经典指数
1
2
3
4
39
题目数
1
贡献者
31
答案数
扫描后移动端查看
我也分享一个题目
相关标签
复杂度
模拟
查找
递归
用户运营
链表
内容运营
图
树
网易
同类标签
内容运营
用户运营
操作系统
C/C++
网络基础
C++工程师
编译和体系结构
数据库
编程基础
java
微信公众号
欢迎加入,一起群聊
×
登录
注册
找回密码
记住登录
登录
快速注册
直接第三方登录