Once again I have been convinced that I should learn Linq, lol.
Did same Kata on Python. Learned regex basics from there. (Regex is confusing)
I feel foolish
No @o the second condition is correct. 'brave' can only appear in quality1 (so quality1 can't be 'evil') which leaves quality2 as possibly being 'evil'.
No @v because 'cunning' can only appear in quality2 so to have both qualities, 'evil' can only appear in quality1.
the second condition is wrong, cuz evil shouln't be in the second quality, but brave could insted of the first one.
ah so you have not concidered the different order of qualities :D
also, is there any operator like any(quality1,quality2) ='evil' - this does not work with columns here
how does rot13 work on all unicode?
how do you chain ternaries like that wtf?
Very interesting approach
lol
This comment is hidden because it contains spoiler information about the solution
ah yes, brainfuck.
Clever, wouldn't probably call it best practise as this is specific to an english alphabet (which was ok for this kata)
Recursion is very expensive for this operation.IMHO
Loading collection data...
Once again I have been convinced that I should learn Linq, lol.
Did same Kata on Python. Learned regex basics from there. (Regex is confusing)
I feel foolish
No @o the second condition is correct. 'brave' can only appear in quality1 (so quality1 can't be 'evil') which leaves quality2 as possibly being 'evil'.
No @v because 'cunning' can only appear in quality2 so to have both qualities, 'evil' can only appear in quality1.
the second condition is wrong, cuz evil shouln't be in the second quality, but brave could insted of the first one.
ah so you have not concidered the different order of qualities :D
also, is there any operator like any(quality1,quality2) ='evil' - this does not work with columns here
how does rot13 work on all unicode?
how do you chain ternaries like that wtf?
Very interesting approach
lol
This comment is hidden because it contains spoiler information about the solution
ah yes, brainfuck.
Clever, wouldn't probably call it best practise as this is specific to an english alphabet (which was ok for this kata)
Recursion is very expensive for this operation.IMHO
Loading more items...