Resuelto


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

más de 5 años hace

Resuelto


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

más de 5 años hace

Resuelto


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

más de 5 años hace

Resuelto


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

más de 5 años hace

Resuelto


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

más de 5 años hace

Resuelto


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

más de 5 años hace

Resuelto


Modulo with 5

más de 5 años hace

Resuelto


sum of binomial series

más de 5 años hace

Resuelto


Find the slope

más de 5 años hace

Resuelto


number play

más de 5 años hace

Resuelto


Calculate the volume of the football

más de 5 años hace

Resuelto


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.

más de 5 años hace

Resuelto


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]

más de 5 años hace

Resuelto


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

más de 5 años hace

Resuelto


Lateral Area of a Right Rectangular Pyramid

más de 5 años hace

Resuelto


find location of indexes

más de 5 años hace

Resuelto


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

más de 5 años hace

Resuelto


Find the worst traffic yesterday

más de 5 años hace

Resuelto


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.

más de 5 años hace

Resuelto


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

más de 5 años hace

Resuelto


The length of the equal sides of an isoceles triangle is 'a'.For all the possible (integer) values of the remaining side,find the associated angles between the two equal sides.
the remaining side may have many possible values.only assume integer ones for simplicity.

más de 5 años hace

Resuelto


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

más de 5 años hace

Resuelto


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

más de 5 años hace

Resuelto


Decipher the number 2 - 3 keys

más de 5 años hace

Problema


List the good primes

más de 5 años hace | 1 | 18 solvers

Resuelto


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

más de 5 años hace

Problema


Determine whether a number is a prime self number

más de 5 años hace | 4 | 19 solvers

Cargar más