Pergunta de entrevista da empresa Block

Given a value, array of numbers, operands. Get the value using all the numbers and operands