Coding Challenge Series / Technical Interview Series
Create a function which copies byte data from a source location to a destination location (you might use pointers or an array depending on the programming language). The function must copy using this pattern: 8 bytes, skip 8 bytes, 4 bytes, skip 8 bytes, 8 bytes, … repeat (+8,-8,+4,-8….).
Bonus points for really nailing the performance of this one.
(Are you enjoying this series? I’d appreciate a comment if you’d like me to continue the series. It takes more time than I’d like to admit to create and post these entries every week.)

Be The First To Comment
Related Post
Please Leave Your Comments Below