Solved

Restricted Subtraction v1

This problem is Restricted Addition v4 with subtraction and more restrictions. Subtract two inputs without use of common arithm...

5 months ago

Solved

Restricted Addition v4

This problem is Restricted Addition v3 with more restrictions. Also, you must handle matrices. Add two inputs without use of co...

5 months ago

Solved

Assert yourself! Hack the assert function to pass this test.

Have you ever wanted to test out one of those hacks you have seen which "games" the problem by simply overwriting the assert met...

5 months ago

Solved

String Logic 18

Examples: 'DIG' --> 'DG' 'IMPORTANT' --> 'IPRAT' 'DEAL' --> 'DA' 'LIMB' --> 'LM' 'MOSTLY' --> 'MSL'

5 months ago

Solved

String Logic 19

Examples: 'DIG' --> 'I' 'IMPORTANT' --> 'MOTN' 'DEAL' --> 'EL' 'LIMB' --> 'IB' 'MOSTLY' --> 'OTY'

5 months ago

Solved

Find the summation, mean, median, mode and standard deviation of a given array.

An array is given. Find out the summation, mean, median, mode and standard deviation of a given array. If x=[1,2,2,3,3,3,4,4,4,...

5 months ago

Solved

Return longest string in 1-D array of strings

Find the longest string in an array of strings. Return an empty string if the initial array is empty. If there are multiple stri...

5 months ago

Solved

Make a Pandiagonal Prime Magic Square: 11 x 11

This Fun with Primes Challenge is to create a Pandiagonal Prime Magic Square of size 11x11 given eleven APk sequences with 10 co...

5 months ago

Solved

Number of digits in an integer

Specifies how many digits in a given integer. Example: in=100 ==> out=3

5 months ago

Solved

Decimal to binary conversion (without using built-in function)

convert the given decimal number to its equivalent binary without using built-in function. * n=18 * out='10010'

5 months ago

Solved

Twin Primes

Twin primes are pairs of primes that are immediately next to each other (difference of two). The lesser of twin primes are 3, 5,...

5 months ago

Solved

Cat, Meowcat and Concatenation

Input is a cell array containing several strings. Find the largest continuous sub-string common to all strings. All strings are ...

5 months ago

Solved

MatCAT - Reconstruct X from Its X-rays

Consider a matrix x x = [ 1 2 0 0 5 0 3 0 8 ] If we sum x along the rows we get row_sums = [3 5 11] ...

5 months ago