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
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
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