Problem 3688 · Easy

Bitwise OR of Even Numbers in an Array

Filter the even numbers and OR them together, starting from zero so an empty set gives zero.

Open the interactive visualisation