There might be calculation errors in your code. That’s why these testcases are failing. Also make sure that you are sorting the list symbols in descending order.
Hint: Get the number of days first, then calculate number of years.
@Saurav_Crio.Do ,I am still getting the last error ? couldn’t understand this ?
Try to understand this amazing blog
You will know more about your error