Created
August 29, 2014 00:10
-
-
Save jikeytang/a1b880f82c5c6145aa39 to your computer and use it in GitHub Desktop.
[ Javascript ] - 20140829-题目1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
用最优的代码实现: | |
如何判断出字符串 b 中的每一个字符,在 a 中是否存在。 | |
比如: | |
var a = 'lkjgfaoids'; | |
var b = 'adc'; | |
ad存在,c不存在。 | |
PS: | |
1. 回复时注意加上下面这句话,才会有语法高亮或格式缩进。 | |
```javascript | |
// you code | |
``` | |
2. 粘贴代码时请使用shift+tab,缩进前面的空白。 |
wsgouwan
commented
Nov 25, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment