tag:blogger.com,1999:blog-494208016490010557.post6678044443894322089..comments2024-03-13T10:17:23.352-07:00Comments on One Stop Interview Preparation: FIND 2 ODD OCCURING INTS IN AN ARRAYPFPGPhttp://www.blogger.com/profile/02262505409875359560noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-494208016490010557.post-69480836962704066112014-03-31T23:10:56.056-07:002014-03-31T23:10:56.056-07:00sorry, I feel a little confused about this solutio...sorry, I feel a little confused about this solution. <br />If the two odd occurrence numbers are same in the least significant bit, which means the OddOccurence variable will be 0 after you & with its negative. Then those two numbers & OddOccurence will be both > 0 (if they are all 0 in the end bit) or < 0 (if they are all 1 in the end bit). So how could you figure out those two numbers? Anonymousnoreply@blogger.com