剑指 Offer 21. 调整数组顺序使奇数位于偶数前面 #33
utterances-bot
started this conversation in
Comments
Replies: 0 comments 2 replies
-
这个题分错类了,应该分到快慢指针,我想了好久愣是没想到怎么对撞指针。。。。 |
Beta Was this translation helpful? Give feedback.
0 replies
-
感谢指正,稍后更新文章 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
剑指 Offer 21. 调整数组顺序使奇数位于偶数前面 | 算法通关手册
剑指 Offer 21. 调整数组顺序使奇数位于偶数前面 # 标签:数组、双指针、排序 难度:简单 题目大意 # 给定一个整数数组 nums。 要求:将奇数元素位于数组的前半
https://algo.itcharge.cn/Solutions/Offer/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof/
Beta Was this translation helpful? Give feedback.
All reactions