Chapter 9: Q25P (page 363)
Define the functionas in problem9.24. Show that it may be computed withsize circuits.
Problem 9.24
Define the functionas
Thus, the function returns the majority vote of the inputs. Show that can be computed with:
a. size circuits.
b. localid="1663252609202" size circuits.
Short Answer
a. The first part is solved by implementing the Bubble-sort as a circuit on the n number of inputs taken.
b. The second part is solved by implementing the Merge-sort as a circuit on the n number of inputs taken.