employer cover photo
employer logo
employer logo

SolarCity

Acquired by Tesla

Is this your company?

SolarCity Interview Question

finding distance between two nodes on an n-by-n grid

Interview Answer

Anonymous

Apr 14, 2015

sqrt ( abs(x1-x2)^2 + abs(y1-y2)^2 )

3