Once you have set the 14th one to zero in the  next step you wont be able to flip the 15th one.

On 2/1/06, srinics < [EMAIL PROTECTED]> wrote:

How about this ?
1) Set first 15 1's
2) Flip 14th and 16th
2) Flip 15th and 17th...and so on
The no. of flips would be:
15 in step 1 +
two flips each for the remaining (32767-15) cells

15 + 2(32767-15)


Reply via email to