• + 1 comment

    This is almost completely identical to mine minus the variable names. Is there a reason you did n>>1 instead of n/2? I can't see any noticeable improvement performance wise and it isn't as readable.