C3 AI Interview Question

Programming: Implement stochastic gradient descent for linear regression. Stock when to sell variation (dynamic programming).