I thought about it, but I choose not to use it for readibility.
Most probably not a kata issue. Either way it works fine now.
This comment is hidden because it contains spoiler information about the solution
this doesnt work with random secret chars
why is this a 7?
It's a two-dimensional nested for loop, except instead of using actual for loops it creates arrays of the appropriate size and uses map to iterate over them. Then, it joins the results into a string.
Can someone explain this craziness?
very similar to mine
I didn't know you could embed the if directly in the string concatenation
Loading collection data...
I thought about it, but I choose not to use it for readibility.
Most probably not a kata issue. Either way it works fine now.
This comment is hidden because it contains spoiler information about the solution
this doesnt work with random secret chars
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
why is this a 7?
This comment is hidden because it contains spoiler information about the solution
It's a two-dimensional nested for loop, except instead of using actual for loops it creates arrays of the appropriate size and uses map to iterate over them. Then, it joins the results into a string.
Can someone explain this craziness?
very similar to mine
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I didn't know you could embed the if directly in the string concatenation
Loading more items...