0
Error when executing program
.\Playground\:23: error: bad operand types for binary operator '<' if(m[j]<m[min]) ^ first type: String second type: String 1 error
1 Answer
0
According to given error, you are comparing strings using binary operator '<'.
Try to cast to int type.