Question: I need this in Java Return string: the highest-rated show in the genre, with the lowest name alphabetically if there is a tie Sample Case



I need this in Java
Return string: the highest-rated show in the genre, with the lowest name alphabetically if there is a tie Sample Case 0 Sample Input For Custom Testing Sample Output Game of Thrones Explanation The 4 highest-rated shows in the 'Action' genre are shown. 'Game of Thrones', 9.3 'Avatar: The Last Airbender', 9.2 'Hagane no renkinjutsushi', 9.1 'Shingeki no kyojin', 8.9 Sample Input For Custom Testing Animation Sample Output Avatar: The Last Airbender Explanation The 4 highest-rated shows in the 'Animation' genre are shown. 'Avatar: The Last Airbender', 9.2 'Rick and Morty', 9.2 'Hagane no renkinjutsushi', 9.1 'Death Note: Desu nto', 9 'Avatar' is tied with 'Rick and Morty' and is lower alphabetically
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
