回复:SAP智力题 Data transfer

来源: 2010-02-08 23:08:13 [旧帖] [给我悄悄话] 本文已被阅读:

let y be the string by xor two adjacent bits of x. then the problem is reduced to correcting two errors of y (the two end points of the interval where the flip happens), which there are ways to do it using 2log n bits. so one now transfer x plus the error correcting bits for correcting two errors of y.