codomania
BAN USER
Questions (2)
Comments (2)
Reputation 65
- 0of 0 votes
AnswersImplement memcpy function which accepts num of bits as argument as oppose to number of bytes.
- codomania in United States for Windows Phone
memcpy (src, dst, num_bits)| Report Duplicate | Flag | PURGE
Microsoft Software Engineer / Developer Bit Manipulation - 2of 2 votes
AnswersArrange 1 to N in random order with no duplication.
- codomania in United States for Windows Phone| Report Duplicate | Flag | PURGE
Microsoft Software Engineer / Developer Arrays
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.
on mask creation step, instead of creating mask on every run i used a simple lookup table with prebuilt masks
- codomania March 08, 2013masks[] = {0x1, 0x3, 0x7, 0xF, 0x1F, 0x3F, 0x7F}
but i was not sure which technique is faster (using lookup table or creating it at runtime)... can anyone comment on it ?