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.
As alpardel said it's the left bitwise shift operator if applied to a Number
If you take an integer 11 which is 1011 in binary and shift the bits 1 to the left you get 10110 = 22
if you shift them 2 to the left you get 101100 = 44
I up voted it as Clever - by way of an apology
Yeah, sorry - I saw that after my comment (see my EDIT) :)
Don't know how I misread it!!
This comment is hidden because it contains spoiler information about the solution
It would be nice if someone would respond to my plea for help!
Help please I'm stuck on this, I have it working for all test cases where the function params are (a, b) - because I define my returned function as
return function (a, b) {
But when the params are (x, y) for example it fails unless I change it to
return function (x, y) {
- I cannot work out how to abstract the returned function parametersI can post my solution if necessary
loved this one, some really cool solutions out there
This comment is hidden because it contains spoiler information about the solution
finally got there!
This comment is hidden because it contains spoiler information about the solution