Risolto


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

oltre 3 anni fa

Risolto


imaginary

oltre 3 anni fa

Risolto


Real

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


String Logic 2
Example: ROSY --> HEIO TRUST --> JHKIJ MOSTLY --> CEIJBO

oltre 3 anni fa

Risolto


String Logic 1
Examples: 'CAT' --> 'IGZ' 'DOG' --> 'JUM'

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


Find the number of zeros in a matrix
Find the number of zeros in a matrix

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


Create co-occurrence matrix

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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'

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


Find Logic 15

oltre 3 anni fa

Risolto


Find Logic 9

oltre 3 anni fa

Risolto


Find Logic 16

oltre 3 anni fa

Risolto


Find Logic 17

oltre 3 anni fa

Risolto


Find Logic 18

oltre 3 anni fa

Risolto


Find Logic 19

oltre 3 anni fa

Risolto


Compute the Sequence of the Day
A sequence starts with 1 and 2, and each subsequent term is the sum of the digits of the product of the previous two terms. As a...

oltre 3 anni fa

Risolto


Find the smallest integer m such that n divides m!
Write a function that takes an integer and finds the smallest integer whose factorial is divisible by . For example, if , then...

oltre 3 anni fa

Risolto


Whole Number Concatenator
Write a function that concatenates whole numbers. For example: numcat(111,222) should return 111222 numcat(1,2,3,4,5) s...

oltre 3 anni fa

Risolto


Use a timetable to analyze a train timetable (Part 1)
Oh no, you missed your train to Boston! Find the departure time of the next available train by analyzing the train timetable. Th...

oltre 3 anni fa

Risolto


Sum the Infinite Series
Given that 0 < x and x < 2*pi where x is in radians, write a function [c,s] = infinite_series(x); that returns with the...

oltre 3 anni fa

Risolto


Lunar Arithmetic (Multiplication)
<https://oeis.org/A087061 OEIS link for a description of lunar arithmetic> Simply take the larger digit when adding and take ...

oltre 3 anni fa

Carica altro