Problem 2917 · Easy

Find the K-or of an Array

Count how many numbers have each bit set and keep the bits that at least k numbers share.

Open the interactive visualisation