Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The searchHotelByWifiOption function is not according to the question. #12

Open
Abhijeet912 opened this issue Oct 17, 2024 · 0 comments

Comments

@Abhijeet912
Copy link

Abhijeet912 commented Oct 17, 2024

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 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant