Calculate Wind Chill Factor
The NWS Wind Chill Temperature (WCT) index formula for calculating the dangers from winter winds and freezing temperatures:
Cal...
Fizz
Dado um número inteiro n, retorne 'fizz' se esse valor for multiplo de 3, ou retorne o valor caso contrario.
Fizz(3) = 'fizz';
...
nästan 2 år ago
Solved
Calculate supply voltage and total current
Three resistors are connected in series and each has a resistance in ohms. Resistor R2 has a voltage drop of ΔV2volts Find the ...
Find all prime factors of the input
Given an input x, find its all prime factors. Return the vector with all factors in ascending order.
Efficiency is the key here...
nästan 2 år ago
Solved
Sequence
Let S be a sequence of numbers
Let
Find for some , where and .
Update - test suite cleaned up on 2-9-22
nästan 2 år ago
Solved
Possible Rugby Scores
Given a natural number s (> 4), representing a rugby team's score, return an n-by-3 matrix representing all n possible combinati...