Chapter 0: Q24P (page 1)
Define the function as
Thus, thefunction returns the majority vote of the inputs. Show that itcan be computed with:
- size circuits.
- size circuits.
Short Answer
- The first part is solved by implementing the Bubble-sort as a circuit on the n number of inputs taken.
- The second part is solved by implementing the Merge-sort as a circuit on the n number of inputs taken.