
Bub
Administrator
Ban Quản Trị
Mình đăng lại bài của bạn Tri Tran tại đây
•Manipulating physical objects can give you ideas for discovering algorithms.
•The Problem:
You are given an array whose size is an even number, and you are to switch the first and the second half.
(Cho mảng có size là 1 số chẵn, bạn hãy đổi chỗ của nửa phía trước với nửa phía sau của mảng).
•Example
This array
• will become
•Manipulating physical objects can give you ideas for discovering algorithms.

•The Problem:
You are given an array whose size is an even number, and you are to switch the first and the second half.
(Cho mảng có size là 1 số chẵn, bạn hãy đổi chỗ của nửa phía trước với nửa phía sau của mảng).
•Example
This array

• will become
