##Leap My code: here
-
Responder #1 (here) A unique way of solving by using Boolean to determine if the statement is true.
-
Responder #2 (here) - This person used a if statement approach as above without the Boolean approach instead he check for divisibility by 4, and afterwards, in on line, checks for all other values.
-
Responder #3 (here) - This user decided to go with an if/else approach, returning true or false based on the condition. I do feel like this code is much easier to read then the previous ones even though it is much longer.
-
Responder #4 (here) - This user took the same approach as Responder 3 with a slight difference of assigning the function before dealing with the if/else statement.
-
Responder #5 (here) - This user is very efficient, It’s a simple one-onliner and very easy to follow.
##Hamming My code: here
-
Responder #1 (here) - Seems almost like mine. Noticed some nesting from line 5-11(reading other comments online) Makes me see how it makes sense compared to mine.
-
Responder #2 (here) - Very much like mine without the split.
-
Responder #3 (here) - Another one as 2 with slight differences in the way Responder #3 is using the count. Interesting…
-
Responder #4 (here) - Best approach I have seen so far, since its almost identical to mine. Great minds think a like.
-
Responder #5 (here) - Another approach similar as Responder 2 & 3
##RNA-Transcription My code: here
-
Responder #1 (here) - Super cool approach with replace and regex. Very clean code.
-
Responder #2 (here) - Not sure quite what’s going on with this code it seems like it replacing a function with the transcription function that creates an object, but line 8 with the regex is somewhat confusing. Overall looks clean and short.
-
Responder #3 (here) - A unique approach with if/else
-
Responder #4 (here) - This is interesting. This person seems to have created multiple functions for the pieces which seems like a good idea. The code however is very long but still clear to understand what’s going on.
-
Responder #5 (here) - This solution uses a variable map between the different letters, but still uses the map function to go through the string to create a new one.