聊聊在私立文理读cs的两年感受

一亩三分地论坛

 找回密码
 Sign Up 注册获取更多干货
E轮2.5亿美元融资
K12教育独角兽一起作业
北京-诚聘人工智能/教育/大数据岗
坐标湾区
Games Startup
招聘游戏开发工程师
游戏初创公司招聘工程师、UIUX Designer和游戏策划
码农求职神器Triplebyte:
不用海投
内推多家公司面试
把贵司招聘信息放这里
查看: 3186|回复: 2
收起左侧

苏宁北美研发总部R&D Center 热乎乎的面经,真是难

[复制链接] |试试Instant~ |关注本帖
francisyang 发表于 2014-11-6 07:13:32 | 显示全部楼层 |阅读模式

2015(10-12月) 分析|数据科学类 本科 全职@Suning - 网上海投 - 技术电面  | Other |

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

您需要 登录 才可以下载或查看,没有帐号?Sign Up 注册获取更多干货

x
一分钟前,做完Phone Interview。热乎乎的。啥都不说,直接上干货。. more info on 1point3acres
1. 面试官很nice,直接开始说题目。
2. 面试官很牛逼,一眼就把bug看出来,打的我直冒汗。
3. 最后一道题是leetcode上的原题稍微改了一下。
解法是,扫一遍长字符串,纪录每一个包含短字符的String 长度,返回最短那个即可。

求人品,求Offer。

1. Write a function/method that takes two string s and t and return true if t is a proper substring of s. You cannont use any library.
for example s= "abcde", t = "bcd", returns true
if t = "bce" returns false. You are not supposed to use any library.
. 一亩-三分-地,独家发布s = "ababac"
t = "abac"

2. THis is a test of basic data structure, you can use java collection and is encouraged to.
Again, given a string s and t, return true if all characters of t is in s.
So for s = "abcde" and t = "cbe" return true instead of false as in Q1.

However if t = "bxy" returns false.
You can assume that all characters are unique (i.e. no duplciate).
Also, do not make assumption about the character being ascii, it could be utf-8 that represents
chinese characters. However, for the purpose of this exercise, just use a string or char type.. 1point 3acres 论坛

3. This question is similar to 2. Here, we want to find the length of the SHORTEST substring in s that
contains all the characters in t. So for example, if s = "aabbcccddeeeeebafd" if t = "bad"
then the solution is "bafd" not "abbcccd" which longer. The character set could be in utf-8,
that is, you cannot assume that the character set has size 256. Assume also that you have run
it through the code in 2 and know that all characters in t are in s. no duplcates in string t.. Waral 博客有更多文章,

. Waral 博客有更多文章,. 牛人云集,一亩三分地

. more info on 1point3acres

评分

3

查看全部评分

求求求求内推 发表于 2015-12-8 06:12:37 | 显示全部楼层
很想面试他们的Supply Chain 部门 不知道是否 有机会,楼主有内推的?
回复 支持 反对

使用道具 举报

本版积分规则

提醒:发帖可以选择内容隐藏,部分板块支持匿名发帖。请认真读完以下全部说明:

■隐藏内容方法: [hide=200]你想要隐藏的内容比如面经[/hide]
■意思是:用户积分低于200则看不到被隐藏的内容
■可以自行设置积分值,不建议太高(200以上太多人看不到),也不建议太低(那就没必要隐藏了)
■建议只隐藏关键内容,比如具体的面试题目、涉及隐私的信息,大部分内容没必要隐藏。
■微信/QQ/电子邮件等,为防止将来被骚扰甚至人肉,以论坛私信方式发给对方最安全。
■匿名发帖的板块和方法:http://www.1point3acres.com/bbs/thread-405991-1-1.html

关闭

一亩三分地推荐上一条 /5 下一条

手机版|小黑屋|一亩三分地论坛声明

custom counter

GMT+8, 2018-5-21 11:48

Powered by Discuz! X3

© 2001-2013 Comsenz Inc. Design By HUXTeam

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