Sponsored
Use these hints if you're stuck. Try solving on your own first.
Try to find all question ids by group
Try to find each group answer number and show number.
Rank all the rates (answer/(answer+show)) and return the max one
Solve with full IDE support and test cases