s*p
2 楼
不止一次被问到这个了。总是题目做对了,但精彩会问如果这段代码放到production
code 中哪些地方要改。注意代码本身没有bug.
比如最近面试一道很简单的
题,给一句话,比如 cat dog fish cat, 返回第一次重复出现的单词,比如这题就是
返回cat。
如果没有重复的词,我的处理是返回一个空字符串""。他就问我
如果在production 里有没有更好的方法。因为如果别人调用你这个函数得到一个空字
符串的话会surprise,这是他的原话。
code 中哪些地方要改。注意代码本身没有bug.
比如最近面试一道很简单的
题,给一句话,比如 cat dog fish cat, 返回第一次重复出现的单词,比如这题就是
返回cat。
如果没有重复的词,我的处理是返回一个空字符串""。他就问我
如果在production 里有没有更好的方法。因为如果别人调用你这个函数得到一个空字
符串的话会surprise,这是他的原话。
G*6
3 楼
ABSTRACT: High degree of functionalization on the surface of graphene oxide
(GO–BZ) by benzoxazine is achieved via click chemistry. The modified GO-BZ
is used to prepare single layer polymer–grafted 2D nano-hybrids. The GO–BZ
exhibits a good solubility and lower polymerization temperature in
benzoxazine resins and imparts higher thermal stability to the corresponding
GO.
关键词:化学合成,功能化,氧化石墨烯
请将简历发至 v******[email protected]
(GO–BZ) by benzoxazine is achieved via click chemistry. The modified GO-BZ
is used to prepare single layer polymer–grafted 2D nano-hybrids. The GO–BZ
exhibits a good solubility and lower polymerization temperature in
benzoxazine resins and imparts higher thermal stability to the corresponding
GO.
关键词:化学合成,功能化,氧化石墨烯
请将简历发至 v******[email protected]
k*i
5 楼
exception or error code
l*e
6 楼
sent you my info.
Thanks
Thanks
D*9
7 楼
OD就是这个德性,早晚倒闭
t*t
8 楼
exception
this doesn't matter production or not. should always throw exception or
return null. should never return empty string.
this doesn't matter production or not. should always throw exception or
return null. should never return empty string.
s*p
10 楼
那应该扔出那个exception 啊?如果输入没有重复的话也不算invalid input 啊?
Error code 应该怎么操作?enum ?
exceptionthis doesn't matter production or not. should always throw
exception or return ........
【在 t***t 的大作中提到】
: exception
: this doesn't matter production or not. should always throw exception or
: return null. should never return empty string.
Error code 应该怎么操作?enum ?
exceptionthis doesn't matter production or not. should always throw
exception or return ........
【在 t***t 的大作中提到】
: exception
: this doesn't matter production or not. should always throw exception or
: return null. should never return empty string.
l*i
11 楼
今天去回收墨盒 OD的印度女manager说我的卡是自己打印的,问我有没有寄过去的卡,
我说我才加的,卡还在路上。
接着又说只能收5 per day,我回no, 20 per month. 于是丫没话说了。
我说我才加的,卡还在路上。
接着又说只能收5 per day,我回no, 20 per month. 于是丫没话说了。
r*i
12 楼
没有重复的是正常结果之一,为什么要抛exception?return null 可以,或者更明确
点可以返回是一个对象,包含一个enum(notfound,found,其它特俗情况)和一个
string
点可以返回是一个对象,包含一个enum(notfound,found,其它特俗情况)和一个
string
相关阅读
O-1 petition approved, J1 waiver pending at USCIS, 回国签证会invalidate waive吗?485主申请人要去读书,是不是只能等到绿卡完全下来?弱eb1b求评估弱Case评估:是办eb2还是走eb1b请教这个情况的eb1b要不要PP(update了老公背景)i140填表求助关于eb1b体检140 追加PP, 网上无更新化学/高分子/材料 求推荐审稿机会评估下有无可能上EB1-AEb1b 140 TSC 追加pp approved!Eb1b approvedH1b延期 approval notice国籍写错了需要改正么?打算EB1A,求评估[Gone]审稿机会:心脏病,医学统计传染病流行病审稿转让求助!485 REF 出生证明【Gone】Review opportunityrfe回复的一个问题: 找弱AP比较催推荐人要推荐信