Skip to content

Latest commit

 

History

History

findNumbersWhichAreDivisibleByGivenNumber

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Find numbers which are divisible by given number

8 kyu link to kata
my solution

Complete the function which takes two arguments and returns all numbers which are divisible by the given divisor. First argument is an array of numbers and the second is the divisor.

Example(Input1, Input2 --> Output)

[1, 2, 3, 4, 5, 6], 2 --> [2, 4, 6]