A Kata A Day Challenge
Wednesday, 27 January 2016
Kata Day 59: Rank Vector
›
Problem Description: Given an array (or list) of scores, return the array of ranks for each value in the array. The largest value has ra...
2 comments:
Sunday, 24 January 2016
Kata Day 58: How many are smaller than me
›
Problem Description: Write a function smaller(arr) that given an array arr, you have to return the amount of numbers that are smaller t...
1 comment:
Friday, 22 January 2016
Kata Day 57: Product of consecutive Fib numbers
›
Problem Description: The Fibonacci numbers are the numbers in the following integer sequence (Fn): 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55,...
Wednesday, 20 January 2016
Kata Day 56: Least Common Multiple
›
Problem Description: Write a function that calculates the least common multiple of its arguments; each argument is assumed to be a non-...
Tuesday, 19 January 2016
Kata Day 55: Efficient Power Modulo n
›
Problem Description: Your task is to create a new implementation of modpow so that it computes (x^y)%n for large y. The problem with th...
Monday, 18 January 2016
Kata Day 54: Multiples of 3 and 5
›
Problem Description: If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these m...
Sunday, 17 January 2016
Kata Day 53: N-th Fibonacci
›
Problem Description: I love Fibonacci numbers in general, but I must admit I love some more than others. I would like for you to write ...
›
Home
View web version