Please explain the approach to this question ,i am not able to start

broken calculator question

u have to use array to store the number