Last active
August 29, 2015 14:01
-
-
Save jikeytang/64b2e2f8e4ef5c82536b to your computer and use it in GitHub Desktop.
[ Javascript ] - 20140524-题目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
输入一个整数数组,调整数组中数字的顺序,使得所有奇数位于数组的前半部分,并排序。 | |
所有偶数位于数组的后半部分。 | |
如: [4,6,5,3,7] -> [3,5,7,4,6] | |
PS: | |
1. 回复时注意加上下面这句话,才会有语法高亮或格式缩进。 | |
```javascript | |
// you code | |
``` | |
2. 粘贴代码时请使用shift+tab,缩进前面的空白。 |
chriswenwu
commented
May 25, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment