-
Notifications
You must be signed in to change notification settings - Fork 0
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
Requesting to update the readme explaining the code or algorithm used. #1
Comments
Hi!! What part do you need me to explain? |
I don't know java. So it is quite hard for me to understand your algorithm. It would be helpful if you can guide me towards the algorithmic solution of the question or tell me the concepts that I need to know to solve this type of optimization questions. I would really appreciate a little guidance as there is not enough content about the solution of the question. |
First of all, we need to read the inputs (a_an_example, b_basic...) and take the data we think it's useful, so we can short it in a proper way. |
so basically you are sorting the ingredient array according to (liked - disliked) count and taking the ingredients if it is increasing the final score. Thank you for you help.😊 |
That's it. Hope this helps!! |
There is also a point. You can also try to include all the ingredients that have no dislikes as they will only increase the score. Just a suggestion. Thank you. It really helps. |
That's a cool idea! I'll try later, so you can keen an eye on this proyect! |
👍. Thanks once again. |
Fun fact: I got the same puntuation doing that! Hahahaha |
I am requesting you to explain the code please. It will be a lot of help.😊
The text was updated successfully, but these errors were encountered: