0

Hello people, I've got a 2-d array, the first row has a string in each position, the second has a number in each position returned by a function that run on the strings.I run the mutatedstring function, run the matchmutated and put the values into the array, offspring times. Then I need to find the minimum number, and return the corresponding string. Could I use the min function for one row? How do I do this?

```
string mutated_chooser(string origmutated,string orisentance int offspringnumber)
int array [2][offspringnumber]
for (int t=0; t=offspringnumber-1;t++){
string newmutated = mutatedstring(origmutated);
newmutated = array [0][t];
int matchmutated = match(orisentance,newmutated);
matchmutated = [t][0];
}
// I need to find the minimum matchmutated in the array and return it's corresponding string
```

Thanks for the help!