News for hackers. Stuff that matters.
Re:Data structures and algorithms interview questions and th... by bloaf on Saturday October 14, 2017 @09:23PM (#15475335)
Mult(A,B) = Exp(Log(A) + Log(B))
Re:Data structures and algorithms interview questions and th... by mike_ivanov on Saturday October 14, 2017 @09:45PM (#15475422)
You didn't pass (overqualified, will likely be bored by the job).
Re:Data structures and algorithms interview questions and th... by bloaf on Saturday October 14, 2017 @11:34PM (#15475739)
More like: bad culture fit, expects a standard library that handles infinite quantities and complex numbers out of the box.

Edit: how about

(Math.Pow(a+b, 2) - Math.Pow(a,2) - Math.Pow(b,2))/2