Your algorithm is bad. With x and y being as big as few thousand, you may have to do around 1,000,000 iterations. Multiply this by 100 random tests and...
x
y
.
Most probably endless loop in your code.
Issue is kata-related, use question tag if you require help.
Issue
question
This comment is hidden because it contains spoiler information about the solution
I've passed tests average 500 ms but when I try to attempt I am facing with this error Execution Timed Out help me please
Loading collection data...
Your algorithm is bad. With
x
andy
being as big as few thousand, you may have to do around 1,000,000 iterations. Multiply this by 100 random tests and....
Most probably endless loop in your code.
Issue
is kata-related, usequestion
tag if you require help.This comment is hidden because it contains spoiler information about the solution
I've passed tests average 500 ms but when I try to attempt I am facing with this error
Execution Timed Out
help me please
This comment is hidden because it contains spoiler information about the solution