Duration of a trip in minutes
Input is a string which includes the duration of a trip. Convert the duration to minutes.
For example if the duration of a t...
Alternative Dimensions
Given a multidimensional matrix, transform the matrix so the dimensions are in the order given by variable ord. For example, giv...
Red and green towers
Frankie has a large number of wooden cubes, painted in red and green. He is building little towers with his cubes, by stacking t...
約3年 前
解決済み
How long does it take to run a bath?
Given the *volume flow rate* (volume/time) of a faucet and the *volume* of a bath tub, find the amount of time it takes to fill ...
normalize group of numbers to integers
Hi guys!
I have a group of 4 numbers x,y,z,w which comes from 4 integers multiplied with a common factor. [x,y,z,w] = c [i,j,k,...
約3年 前
解決済み
Primes Faster for Large N
This Challenge is to improve the "primes" function for speed. This may be accomplished by fixing memory usage.
The Matlab fun...
約3年 前
解決済み
Decoding : Find the value
'u' in the function below is of type char or string and 'v' is of type int or double.
function y = your_fcn_name( u, v)
...
Unique: Speed Enhancement for uint(8,16,32)
This Speed Performance Challenge is to optimize Unique for processing uint8/uint16/uint32 variables.
*Input:* A (column vecto...