Pergunta de entrevista da empresa Whitesnow

solve an expression with bracket and opertor such that bodmas rule is applied and braket solved first using stack.