Problem 985 · Medium

Sum of Even Numbers After Queries

After each update to an array, report the sum of its even values. The visual keeps a running even total that changes with each query.

Open the interactive visualisation