I am starting work on a very simple app with Android studio and even if the idea is simple I have no knowledge how to go about it and I am hoping someone can quickly guide me in the right direction :
Purpose is to select elements from a list
ex. I have a list of different combinations ranked from best to worse
1. A B D
2. G B X
3. A G S
I want to give the user the option to select what elements they have for ex. "A D S B" and then my app should select all the possible combinations of those elements
from the list in the best to worse order.
I hope it makes sense and someone can at least tell me if there is a certain algorithm that helps me achieve this. Thank you !
Purpose is to select elements from a list
ex. I have a list of different combinations ranked from best to worse
1. A B D
2. G B X
3. A G S
I want to give the user the option to select what elements they have for ex. "A D S B" and then my app should select all the possible combinations of those elements
from the list in the best to worse order.
I hope it makes sense and someone can at least tell me if there is a certain algorithm that helps me achieve this. Thank you !