Only the number and alphabet is allowed to be contained in the input string, return true or false.
function is_valid(str:String):Boolean { }
My implementation is dumb, as I want to iterate each character.
Input: akjd8899kdjfj2kj return: true Input: kjd^kdjf^%%$ return: false