📣 黑五价提前开抢|VIP一年通行证5折,蓝莓、Offer多多同步特惠
回复: 3
跳转到指定楼层
上一主题 下一主题
收起左侧

IBM Cloud OA新鲜跪经。。。。。

全局:

2016(4-6月) 码农类General 硕士 实习@ibm - 网上海投 - 在线笔试  | | Other | 应届毕业生

注册一亩三分地论坛,查看更多干货!

您需要 登录 才可以下载或查看附件。没有帐号?注册账号

x
正在做IBM的OA献上新鲜的直播……5道题
第一题 问想去的城市……全选




第二题 让选择Java和Python………………我去楼主是CPP选手啊= =……让好基友帮我做的,我的锅,没告清楚他输入……30分钟……结果因为输入没弄对……傻逼了
Programming Challenge Description:
A web server logs page views in a log file. The log file consists of a line per page view. A page view consists of a page id and a user id, separated by a comma. The affinity of a pair of pages is the number of distinct users who viewed both.
Input:
For example, in the log file below, the affinity of “user1” and “user2” is 2

User1,page1

User2,page1

User3,page2

User2,page3

User2,page3

User2,page4

User3,page3

User3,page1

User1,page3

User2,page4


Output:
The Code should be able to handle various length and combinations.


Test Case1:
Input: User1, User2
Output: 2
Test Case2:
Input: User2, User3
Output: 2



第三题……不限时间
Programming Challenge Description:
The goal of this challenge is to design a cash register program. You will be given two decimal numbers. The first is the purchase price (PP) of the item. The second is the cash (CH) given by the customer. Your register currently has the following bi
您好!
本帖隐藏的内容需要积分高于 188 才可浏览
您当前积分为 0。
使用VIP即刻解锁阅读权限或查看其他获取积分的方式
游客,您好!
本帖隐藏的内容需要积分高于 188 才可浏览
您当前积分为 0。
VIP即刻解锁阅读权限 或 查看其他获取积分的方式
Unlock interview details and practice with AI
Popular Interview Questions from Top Companies
nput Download Test Inputmighty
Expected Output Download Test Outputg1h1i1m1t1y1



第五题
Programming Challenge Description:
Given two integers N and M, count the number of prime numbers between N and M (both inclusive).

Input:
Your program should read lines from standard input. Each line contains two comma-separated positive integers.

Output:
Print out the number of primes between N and M (both inclusive).

Test 1
Test Input Download Test Input2,10
Expected Output Download Test Output4


。。。。。。。。。。。。。。。。。。。。。。。。。楼主实习要找不到了……感觉暑期要各种语言刷一次了……

评分

参与人数 1大米 +2 收起 理由
不去谷歌不罢休 + 2 很有用的信息!

查看全部评分


上一篇:4/15 Microsoft Phone Interview
下一篇:bloomberg三轮游

本帖被以下淘专辑推荐:

全局:
时隔这么久 挖到了楼主这帖子 好搞笑 楼主最后找到了吗
回复

使用道具 举报

🔗
 楼主| 小翔926 2016-10-18 02:21:08 | 只看该作者
全局:
我们家的狗叫猫 发表于 2016-10-17 06:22
时隔这么久 挖到了楼主这帖子 好搞笑 楼主最后找到了吗

这是一个伤心的故事。。。没找到。。。。。。要早点找。。。。刚来了上学就开始。。。
回复

使用道具 举报

全局:
小翔926 发表于 2016-10-18 02:21
这是一个伤心的故事。。。没找到。。。。。。要早点找。。。。刚来了上学就开始。。。

楼主别灰心 刷好题 直接fulltime
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册账号
隐私提醒:
  • ☑ 禁止发布广告,拉群,贴个人联系方式:找人请去🔗同学同事飞友,拉群请去🔗拉群结伴,广告请去🔗跳蚤市场,和 🔗租房广告|找室友
  • ☑ 论坛内容在发帖 30 分钟内可以编辑,过后则不能删帖。为防止被骚扰甚至人肉,不要公开留微信等联系方式,如有需求请以论坛私信方式发送。
  • ☑ 干货版块可免费使用 🔗超级匿名:面经(美国面经、中国面经、数科面经、PM面经),抖包袱(美国、中国)和录取汇报、定位选校版
  • ☑ 查阅全站 🔗各种匿名方法

本版积分规则

>
快速回复 返回顶部 返回列表