Problem 1896 · Hard

Minimum Cost to Change the Final Value of Expression

Flip the final value of a boolean expression at the least cost.

Open the interactive visualisation