"Given 2 arguments, an array and an integer (represented by k), your task is to return a string that represents the very first longest block of consecutive elements in the array. The amount of elements permitted in the block is represented by k.
if n being the length of the array; if n = 0 or k > n or k <= 0 return ""."
"you have to remove those pauses (redundant/unnecessary spaces)." .. so i thought we had to output it without spaces
but in my tests is expecting it with the spaces..
"So, as long as the integers and their sum are never larger than 53 bits in magnitude..." "a and b will always be valid integers." , so a and b they always safe or not?
check rantenor's comment...
"Given 2 arguments, an array and an integer (represented by k), your task is to return a string that represents the very first longest block of consecutive elements in the array. The amount of elements permitted in the block is represented by k.
if n being the length of the array; if n = 0 or k > n or k <= 0 return ""."
"you have to remove those pauses (redundant/unnecessary spaces)." .. so i thought we had to output it without spaces
but in my tests is expecting it with the spaces..
yes you right mate, tks for pointing that out
yeah all passed now ;)
cheers
dont get it..at the basic tests seems like strings but at random they look like arrays..
"So, as long as the integers and their sum are never larger than 53 bits in magnitude..." "a and b will always be valid integers." , so a and b they always safe or not?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
oppss.. tks a lot for that ;)
This comment is hidden because it contains spoiler information about the solution