GlobalLogic interview question

Dynamic allocation of 2D array