Please, don't fork this repo, clone it or download it locally and then commit changes after each task into a new repo of your own, and send us the link. We will get back to you shortly.
Languages accepted: Javascript or PHP.
Make this work (repeat 3 times the contents of an array):
repeat([1,2,3]) //[1,2,3,1,2,3,1,2,3]
Your solution:
If we type in our console your function and repeat([1,2,3]) then the result should be [1,2,3,1,2,3,1,2,3]
Make this work (no vowels, lowercase except the first letter):
reformat("liMeSHArp DeveLoper TEST") //Lmshrp dvlpr tst
Your solution:
If we type in our console your function and reformat("liMeSHArp DeveLoper TEST") then the result should be Lmshrp dvlpr tst
Make this work (without using any built in functions, only a for
loop, return the next binary number in a string or as an array)
next_binary_number([1,0]) // [1,1]
// possible test cases:
// [1,0] => [1,1]
// [1,1] => [1,0,0]
// [1,1,0] => [1,1,1]
// .......
// [1,0,0,0,0,0,0,0,0,1] => [1,0,0,0,0,0,0,0,1,0]
Your solution:
If we type in our console your function and next_binary_number([1,0,0,0,0,0,0,0,0,1]) then the result should look like 1,0,0,0,0,0,0,0,1,0 (or as an array).
If you get invited to the first interview read the "What to expect.md" file.