OpenGenus/cosmos

Divide two integers without using multiplication, division and mod operator (Bit Manipulation)

Open

#113 geöffnet am 1. Okt. 2017

Auf GitHub ansehen
 (10 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C++ (3.724 Forks)batch import
Hacktoberfestadd codenew algorithm

Repository-Metriken

Stars
 (13.462 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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

Contributor Guide