Divide Two Integers

Divide two integers without using multiplication, division and mod operator.

Solution: having trouble to do this one by bitwise operations...

Following code is kind of cheating...


Following code correctly did the bitwise operations. T_T

Comments

Popular posts from this blog

Maximum Gap

[ITint5] Maximum Subarray for a Circular Array

[CC150] Chapter 4 Trees and Graphs