You are given an integer array daysLate, where daysLate[i] denotes the number of days the
The penalty for each book is calculated as follows:
If daysLate[i] is equal to daysLate[i].
If daysLate[i] is between daysLate[i].
If daysLate[i] is strictly greater than daysLate[i].
Return the total penalty for all overdue books.
Constraints:
daysLate.length
daysLate[i]
You are given an integer array daysLate, where daysLate[i] denotes the number of days the
The penalty for each book is calculated as follows:
If daysLate[i] is equal to daysLate[i].
If daysLate[i] is between daysLate[i].
If daysLate[i] is strictly greater than daysLate[i].
Return the total penalty for all overdue books.
Constraints:
daysLate.length
daysLate[i]