You need to sign in or sign up before continuing.×
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.
It's broken?
FibonacciTest
[0]
[1]
[2]
[3]
[4]
[5]
[-6]
[-96]
[1,000]
[1,001]
[-62]
[-73]
testFib[-73]
expected:<806515533049393> but was:<-806515533049393>
Stack Trace
Completed in 3ms
Completed in 7ms
[-44]
[-48]
[-96]
[-28]
[-68]
[-69]
testFib[-69]
expected:<117669030460994> but was:<-117669030460994>
Stack Trace
Completed in 3ms
[-34]
[-53]
testFib[-53]
expected:<53316291173> but was:<-53316291173>
Stack Trace
Completed in 2ms
[50,541]
[1,098,224]
testFib[1,098,224]
I can't pass the test 09. I measured the slow solution(N^2) on test 08 and got an average time of 430 ms.My solution, as I believe for (logN), takes an average of 80-90ms.However, this is not enough to pass test09
KataTest
test01_Example
test02_TwoPoints
test03_DuplicatedPoint
test04_Tiny
test05_Small
test06_TwoPoints
test07_DuplicatedPoint
test08_Medium
Log
Прошло времени, мс: 103
Прошло времени, мс: 92
Прошло времени, мс: 57
Прошло времени, мс: 92
Прошло времени, мс: 67
Прошло времени, мс: 75
Прошло времени, мс: 99
Прошло времени, мс: 73
Прошло времени, мс: 62
Прошло времени, мс: 72
Test Passed
Completed in 811ms
test09_Large
STDERR
Execution Timed Out (16000 ms)
What edge test checking?I can't pass only this
solve it. It was wrong logic with last element in last range
Hi everyone.Random test fails:
It should work for random inputs too expected:<...5,-4,-1,1,2,5,7,8,10[,11,]13> but was:<...5,-4,-1,1,2,5,7,8,10[-]13>
Very strange.Looks like 12 duplicated, but why it absent in expected?
Java.
WTF test.
expected:<1 2[ 200] 4 4 6 6 7 7 18 27 7...> but was:<1 2[00 2] 4 4 6 6 7 7 18 27 7...>
How in string can be ] or [ ??
Its not fair
me to test11 timed out
I can't pass test11(timeout). I don't use recursion, I use only LongStream and parallelStream and 1 ArrayList.What problem?
This comment is hidden because it contains spoiler information about the solution