(self, choices)
| 46 | |
| 47 | class NWayMerge: |
| 48 | def select(self, choices): |
| 49 | min_index = -1 |
| 50 | min_str = None |
| 51 | |
| 52 | for i in range(len(choices)): |
| 53 | if min_str is None or choices[i] < min_str: |
| 54 | min_index = i |
| 55 | |
| 56 | return min_index |
| 57 | |
| 58 | |
| 59 | class FilesArray: |
no outgoing calls
no test coverage detected