登录
|
注册
公司
标签
文章
搜索
C语言工程师
热门公司
迅雷
腾讯
百度
奇虎360
微软
华为
所有
有回答
没回答
新题目
有最佳答案
排序
热度
·
时间
·
经典指数
1
0
1649
Given two binary trees, write a function to check if they are equal or not. Two binary trees are considered equal if they are structurally identical and the nodes have the same value. ...
阅读题目
C语言工程师
树
面试题
经典指数
1
0
1644
用户启动迅雷时,服务器会以uid,login_time,logout_time的形式记录用户的在线时间;用户在使用迅雷下载时,服务器会以taskid,start_time,finish_time的形式记录任务的开始时间和结束时间。有效下载时间是指用户在开始时间和结束时间之间的在线时间,由于用户可能在下载的时候退出迅雷,因此有效下载时间并非finish_time 和 start_time之差。假设登录记录保存在login.txt中,每一行代表用户的上下线记录;下载记录保存在task.txt中,每一行代表一个任务记录,记录的字段之间以空格分开。计算每个用户的有效下载时间和总在线时间的比例。注意:请尽量使用STL的数据结构和算法。 ...
阅读题目
迅雷
C语言工程师
问答题
经典指数
0
0
1637
#include int main() { enum{a,b=5,c,d=4,e}; printf("%d,%d,%d,%d,%d\n",a,b,c,d,e); return 0; } 输出结果为? ...
阅读题目
搜狐
C语言工程师
问答题
经典指数
1
0
1627
以下哪个方法没有在标准 C++库中定义? istream & istream ostream & ostream istream &ostream ostream & ends( ostream & ) istream & ends( ostream & ) ...
阅读题目
C语言工程师
C语言工程师
单选题
经典指数
1
0
1627
以下哪个方法没有在标准 C++库中定义? istream & istream ostream & ostream istream &ostream ostream & ends( ostream & ) istream & ends( ostream & ) ...
阅读题目
C语言工程师
C语言工程师
单选题
经典指数
0
0
1625
Given a binary tree containing digits from0-9only, each root-to-leaf path could represent a number. An example is the root-to-leaf path1->2->3which represents the number123. Find the total sum of all root-to-leaf numbers. For example, 1 / \ 2 3 The root-to-leaf path1->2represents the number12. The root-to-leaf path1->3represents the number13. Return the sum = 12 + 13 =25. ...
阅读题目
C语言工程师
树
面试题
经典指数
0
0
1623
Given a string s consists of upper/lower-case alphabets and empty space characters' ', return the length of last word in the string. If the last word does not exist, return 0. Note: A word is defined as a character sequence consists of non-space characters only. For example, Given s ="Hello World", return5. ...
阅读题目
C语言工程师
字符串
面试题
经典指数
1
0
1616
Below is usual way we find one element in an array const int *find1(const int* array, int n, int x) { const int* p = array; for(int i = 0; i < n; i++) { if(*p == x) { return p; } ++p; } return 0; } In this case we have to bear the knowledge of value type "int", the size of array, even the existence of an array. Would you re-write it using template to eliminate all these dependencies? ...
阅读题目
腾讯
C语言工程师
问答题
经典指数
1
0
1611
使用操作符 对数据进行格式输出时,应包含( )文件。 fstream.h stdlib.h iostream.h iomanip.h ...
阅读题目
C语言工程师
C语言工程师
单选题
经典指数
1
0
1611
使用操作符 对数据进行格式输出时,应包含( )文件。 fstream.h stdlib.h iostream.h iomanip.h ...
阅读题目
C语言工程师
C语言工程师
单选题
经典指数
<<
<
111
112
113
>
>>
1126
题目数
2
贡献者
1010
答案数
扫描后移动端查看
我也分享一个题目
相关标签
迅雷
研发工程师
2016
腾讯
百度
奇虎360
2015
微软
华为
2014
同类标签
研发工程师
游戏运营
产品运营
运维工程师
Android
测试工程师
.NET
iOS
机器学习
Go
微信公众号
欢迎加入,一起群聊
×
登录
注册
找回密码
记住登录
登录
快速注册
直接第三方登录