first do logical AND of 10101010 with number for masking odd bit shift it right 1 times suppose it comes n1 first do logical AND of 01010101 with number for masking even bit shift it left 1 times suppose it come n2
now do n1 || n2 -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.