Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
omg
nice move dude
Very clever! haha
But there is no "Z"
Why is it clever?
Very efficient and easy on the eyes, but this code fails case-sensitivity (even though the challenge didn't really specify.) :)
I knew there would be a way to do this with replaces, clever
The code is too verbose. At least you should reduce it to a single return statement.
basically did the same but just using the lowercase
you've solved the same as I've solved wether we're beginners or we think alike ;p
Clever and simple, I think it shortened by replacing them with lowercase values and just call to uppercase at end.
I did something very similar. Only difference is I mapped all 4 of "T", "A", "C", and "G" to different characters before doing another 4 "replaceAll()"s. So this runs slightly faster than mine. Good job!
clever yet simple idea!
Very cool!
I prefer to convert the argument to lowercase before doing the checks because the code gets leaner. But this way works too, congrats.