Closed GerardluqueDev closed 3 months ago
Failed conditions
0.0% Coverage on New Code (required ≥ 80%)
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Closed due to inactivity. Thank you for your contributions.
This commit implements significant improvements in the modeArray method to enhance its efficiency and handle cases of multiple modes or the absence of number repetition. I have optimized the calculation of the frequency of each element, updated the algorithm to find the maximum frequency value, and added handling to correctly build the array of modes. Additionally, I have added comments to document the changes made in the code and improve its readability