You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The question says return 2nd highest totalBill but the code given will be returning 2nd highest hotel ID. So the question must be sorting according to totalBill and returning hotelId of that hotel which is at 2nd last postion .
The text was updated successfully, but these errors were encountered:
The question says return 2nd highest totalBill but the code given will be returning 2nd highest hotel ID. So the question must be sorting according to totalBill and returning hotelId of that hotel which is at 2nd last postion .
The text was updated successfully, but these errors were encountered: