y*******t 发帖数: 13 | 1 1. a air plan dropped down two engins with a parachute on each engin to a
river
. develop a algorithm using moveLeft(), moveRight(), cutParachute() and
checkParachute(), in order to let the two engines to bump to each other.
a enginers has no idea about the place of th other engin's place.
for the checkParachute(), if the engin in at the place of a parachute, it
returns true, otherwise false.
2. insert an item to a binary tree
3. write a program for permutation of a num array(hint: recursive)
4. |
|