Target sorting
Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...
4 years ago
Solved
Scrabble Scores
Given a word, determine its score in <http://en.wikipedia.org/wiki/Scrabble Scrabble>.
The input string will always be provi...
4 years ago
Solved
Find the peak 3n+1 sequence value
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...
Number Puzzles - 019
Borrowing the idea from Pascal Triangle, the following operation can be performed. Starting with an array of numbers from 1 to N...