Domanda di colloquio di WD

Write a function which multiples 2 integers without using the multiply operator.

Risposte di colloquio

Anonimo

27 nov 2015

For Loop with additions

1

Anonimo

28 dic 2016

Write a For Loop to add first number to itself and consecutive sums for second number of times.This is because multiplication is just addition in principle when we go to elementary school math class...

Anonimo

10 mar 2017

The first two answers are technically correct. To have it run more efficiently you can incorporate dynamic programming into the solution to really "wow" the interview