OpenGenus/cosmos
View on GitHubDivide two integers without using multiplication, division and mod operator (Bit Manipulation)
Open
#113 opened on Oct 1, 2017
Hacktoberfestadd codenew algorithm
Repository metrics
- Stars
- (13,462 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
Divide two integers without using multiplication, division and mod operator.
One has to return the floor of the result of division
Example 9/4=2