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