Frage im Vorstellungsgespräch bei Amazon

Implement integer division as it works in Java, without using the division operator.