由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - 问个狗家电面题
相关主题
问一体G onsite,经常出现Google NYC 面经
G电面面经G家leetcode题
问道G家的题google 面经
攒人品,发MS面筋411. Minimum Unique Word Abbreviation 这题简直疯魔了
再问一道A家的题目问个Google面题
面经:IXL的code test题目[合集] 一个Google / MS 面题
FLAG面试总结求教一道经典面题的解法
是不是大公司辞职后一般就被要求不用来了贴一个google 面题
相关话题的讨论汇总
话题: blade话题: apple话题: strings话题: a4
进入JobHunting版参与讨论
1 (共1页)
w******e
发帖数: 1621
1
在某牛人的面经里看到 问问大牛们思路
Abbreviation: apple can be abbreviated to 5, a4, 4e, a3e, …
Given a target string (internationalization), and a set of strings,
return the minimal length of abbreviation of this target string so that it
won’t conflict with abbrs of the strings in the set.
“apple”, [“blade”] -> a4 (5 is conflicted with “blade”)
“apple”, [“plain”, “amber”, “blade”] -> ???
1 (共1页)
进入JobHunting版参与讨论
相关主题
贴一个google 面题再问一道A家的题目
`一道A面题面经:IXL的code test题目
A家电面题FLAG面试总结
贡献点g家电面题是不是大公司辞职后一般就被要求不用来了
问一体G onsite,经常出现Google NYC 面经
G电面面经G家leetcode题
问道G家的题google 面经
攒人品,发MS面筋411. Minimum Unique Word Abbreviation 这题简直疯魔了
相关话题的讨论汇总
话题: blade话题: apple话题: strings话题: a4