How to find the most liked songs by using array in Java | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to find the most liked songs by using array in Java

Input: number of songs, song ID and likes. Ouput: Song IDs with highest likes. Here is my code https://code.sololearn.com/c5UUE8roGL7T/?ref=app My question is is my code fine? Are there other fatest way to find song ids with most likes by using array?

11th Dec 2022, 1:45 AM
Lily
Lily - avatar
1 Answer
+ 1
It seems your code is ok.
11th Dec 2022, 1:15 PM
Knight
Knight - avatar