Solved

Restricted Subtraction v1

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

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

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

3 mesi ago

Solved

String Logic 18

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

3 mesi ago

Solved

String Logic 19

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

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

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

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

3 mesi ago

Solved

Number of digits in an integer

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

3 mesi 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'

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

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

3 mesi 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] ...

3 mesi ago