Computer Science, asked by deshpandeshilpa5959, 10 months ago

You are given an array and you have to select the smallest subset of the array such that the or of the array is maximum. Write a program that outputs the smallest size of the subset.

Answers

Answered by anamfatema0207
11

Explanation:

Size of the smallest subset with maximum Bitwise OR. Given an array of positive integers. The task is to find the size of the smallest subset such that the Bitwise OR of that set is Maximum possible.

Hope this will help you ❤️..

Mark me as brainliest..

Answered by crazypunk101707
12

Answer:

Fatema Bhenkilodi

Explanation:

Fatema bhenki10di question hi waapis chipka diya answer mei exact aur keh rahi hope this helps mark me brainliest begumpuriy@ bh@ng@n aur jo jo g@ddhe ke ch@kk@r mei iska chu7iy@ answer helpful mark kar rahe hai tum bhi s@@lo th@rki buddh0 sudhar jaao

Similar questions