Risolto


Write out numbers in words
Write out numbers in words ( range [0-9999] ) with British spelling rules. For example; * 1 > one * 56 > fifty-six * 100 >...

quasi 6 anni fa

Risolto


Rolling maximums above a threshold
You are given either a vector or a 2-D matrix M and a threshold value of t. Write a script that will calculate how many times t...

quasi 6 anni fa

Risolto


Kurchan Square - Evaluation Function
Evaluate a Kurchan square. An NxN square with values 1:N^2. Given a square matrix determine the products of each row, column,...

quasi 6 anni fa

Risolto


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...

quasi 6 anni fa

Risolto


Exponents in Factorials
It's time to get excited about numbers!!! Well, we're just dealing with factorials here, but it's still a good reason to get ex...

quasi 6 anni fa

Risolto


Highest powers in factorials
This is the inverse of the problem <https://www.mathworks.com/matlabcentral/cody/problems/44747 Exponents in Factorials>. Inste...

quasi 6 anni fa

Risolto


replace nan values iteratively.
replace nan values with the average of two neighbour non-nan value iteratively as follow; x = [2; 4; 6; nan; nan; nan; 10]; ...

quasi 6 anni fa

Risolto


Modulo with 5

quasi 6 anni fa

Risolto


sum of binomial series

quasi 6 anni fa

Risolto


Find the slope

quasi 6 anni fa

Risolto


number play

quasi 6 anni fa

Risolto


Calculate the volume of the football

quasi 6 anni fa

Risolto


For a given linear index as input for n sized square matrix, find corresponding row and column.
If input is 1, the row and column will be 1 and 1 respectively.

quasi 6 anni fa

Risolto


Get all corner elements from a matrix where dimension of matrix is always equal to or greater than 2.
if a given matrix a = [1 2 3;4 5 6]; so answer is going to be [1 3;4 6]

quasi 6 anni fa

Risolto


Can you reshape the matrix?
Given a matrix A, is it possible to reshape it into another matrix with the given number of rows?

quasi 6 anni fa

Risolto


find location of indexes

quasi 6 anni fa

Risolto


Cannibal eating odd and even numbered men
There are N men in a queue. A cannibal eats either all odd-numbered or all even-numbered men in the queue at a time. In the fi...

quasi 6 anni fa

Risolto


Find the worst traffic yesterday

quasi 6 anni fa

Risolto


Count digits
Count total number of digits from 1 to n. * n=13 * output=17 since from [1-9] total 9 digits.[10-13] total 4*2=8 digits.

quasi 6 anni fa

Risolto


Sky full of stars - 02
draw an isosceles triangle with asterisks of size n. For example, for n=6 ' * ' ' *** ' ' **...

quasi 6 anni fa

Risolto


leap year
find the number of leap years within the given time interval

quasi 6 anni fa

Risolto


King's Cage
Given the position of the king on the chessboard, determine the minimum number of steps it'll require to reach the destination. ...

quasi 6 anni fa

Risolto


Decipher the number 2 - 3 keys

quasi 6 anni fa

Problema


List the good primes

quasi 6 anni fa | 1 | 20 risolutori

Risolto


Fun with permutations
There are factorial(N) permutations of the numbers from 1 to N. For each of these permutations, we can find the set of indexes j...

quasi 6 anni fa

Carica altro