Viridien Interview Question

solve a cubic equation