Not going to invalidate 1920 solutions.
Instead, removed comment in sample tests.
Re-raised as an issue.
!
Awesome. Happy to help!
The test (the getTimes, the block) happens within a setTimeout callback. Maybe that will help?
getTimes
block
Yes, block should work as you said; it should block immediately it is called. That first test block checks the time before and after the block call, to make sure time has passed after the block. Does that help?
This comment is hidden because it contains spoiler information about the solution
Sure, but power([1, [2, 3, [4, 5]] 6]) != power([1,2,3,4,5,6])
power([1, [2, 3, [4, 5]] 6]) != power([1,2,3,4,5,6])
So I'm not sure what you have in mind.
Is your solution capable of sorting an array of characters?
In Javascript/Coffeescript, you will need to use a nested Array.
In Python, you can use nested lists, nested sets, generators of generators, I wrote it to be pretty flexible.
A flat list would just be a list of numbers. You need to produce all possible combinations. Those combinations are grouped in their own nested array.
Yeah, I meant to remove them after testing.
I suppose it would.. looking back to when I solved it I'm not really sure why I chose to make them private, lol.
Okay, I've dropped a workaround for the issue into the preloaded code to unfreeze Kernel, which I'll revert if the test framework changes again.
You'll want to specifically test for Kernel.rand. There should be two tests for each method in the "Disabled methods" block.
Kernel.rand
Loading collection data...
Not going to invalidate 1920 solutions.
Instead, removed comment in sample tests.
Re-raised as an issue.
!
Awesome. Happy to help!
The test (the
getTimes
, theblock
) happens within a setTimeout callback. Maybe that will help?Yes,
block
should work as you said; it should block immediately it is called. That first test block checks the time before and after theblock
call, to make sure time has passed after the block. Does that help?This comment is hidden because it contains spoiler information about the solution
Sure, but
power([1, [2, 3, [4, 5]] 6]) != power([1,2,3,4,5,6])
So I'm not sure what you have in mind.
Is your solution capable of sorting an array of characters?
In Javascript/Coffeescript, you will need to use a nested Array.
In Python, you can use nested lists, nested sets, generators of generators, I wrote it to be pretty flexible.
A flat list would just be a list of numbers. You need to produce all possible combinations. Those combinations are grouped in their own nested array.
Yeah, I meant to remove them after testing.
I suppose it would.. looking back to when I solved it I'm not really sure why I chose to make them private, lol.
Okay, I've dropped a workaround for the issue into the preloaded code to unfreeze Kernel, which I'll revert if the test framework changes again.
You'll want to specifically test for
Kernel.rand
. There should be two tests for each method in the "Disabled methods" block.Loading more items...