Solved


Chrono Matrix: Reconstructing the Time Portal
Your time-travel scanner has captured fragments of a portal matrix scattered across eras. Each fragment contains partial informa...

8 months ago

Solved


The Case of the Missing Prototype – Calculate the Car’s Average Speed Between GPS Readings to Trace the Escape Route
Using GPS data, you’ve obtained the total distance (in meters) traveled by the suspect’s car at equal time intervals.These readi...

8 months ago

Solved


The Case of the Missing Prototype – Extract the Culprit’s Name from a Mixed Letter-and-Number Email Message
While tracing the suspect’s digital footprint, you recover an email containing a mixed string of letters and numbers.The letters...

8 months ago

Solved


The Case of the Missing Prototype – Detect Tampered Sensor Readings from the Stolen Device’s Data Logs
You’ve recovered partial sensor data from the stolen prototype.Each reading is stored in a numeric vector data, but something se...

8 months ago

Solved


The Case of the Missing Prototype – Restore the Correct Frame Order from the Corrupted Security Camera Footage
You’ve finally recovered the security camera footage from the Innovation Lab,but the system malfunctioned and stored frames in t...

8 months ago

Solved


The MATLAB Treasure Hunt – Count Matching Symbols on the Ancient Scroll to Unlock the Next Clue
Inside the Hidden Cave, you discover an ancient scroll filled with strange symbols and markings. A note beside it says: “Count ...

8 months ago

Solved


The Case of the Missing Prototype – Check the Lab’s Logbook for Suspicious Late-Night Entries
After counting the fingerprints, you turn your attention to the security logbook.It records the entry hours (from 0 to 23) of ev...

8 months ago

Solved


The Case of the Missing Prototype - Count the Fingerprints Found at the Lab Door to Begin Your Investigation
You arrive at the Innovation Lab where the secret prototype was stolen. The door has been dusted for fingerprints, and a technic...

8 months ago

Solved


The MATLAB Treasure Hunt – Fix the Broken Compass by Normalizing Its Angle Readings
Your compass, recovered from the Hidden Cave, spins wildly! The ancient device shows angles that exceed 360° or drop below 0°. T...

8 months ago

Solved


The Secret Code of Mars
NASA has intercepted a mysterious signal from Mars filled with random letters and numbers. Scientists believe each number in the...

8 months ago

Solved


find the nth fibonacci number
The Fibonacci sequence is defined as follows: give n, find the nth fibonacci number

8 months ago

Solved


Ordinary Annuity : Future Value
Theorem : Future Value of an Ordinary Annuity where; F : Future value A : Periodic payment r : Rate per period n : Numbe...

9 months ago

Solved


Compute the antisigma function
The sum of divisors function, or , is the sum of the numbers that divide . The antisigma function is the sum of numbers less tha...

9 months ago

Solved


Compute the tersum
The tersum, which appears in certain mathematical games, involves adding two numbers in base 3 without carry and converting back...

9 months ago

Solved


Return the sum of all even numbers in a vector
Write a function that takes a vector of integers and returns the sum of all even numbers.

9 months ago

Solved


Multiply real numbers to get the smallest integers
Write a function that takes a vector of real numbers and multiplies them by a factor to produce the integers with the smallest a...

10 months ago

Solved


Signed Magnitude
For a given input vector, return the value that is furthest from zero. For example, if x = [1 2 -12] return -12.

10 months ago

Solved


Calculate BMI
Given weight in kgs and height in metres, calculate body mass index

10 months ago

Solved


Find the missing numbers.
Total *N* numbers are in the series of natural numbers ( *1,2,3,...,N* ). The input is an array (unsorted) of those natural num...

10 months ago

Solved


Count integers in randomized vector that are multiples of a given number.
The mod() function We might all remember the days when we were taught to divide and then set the remainder aside if the numbers...

10 months ago

Solved


find powers of two
find the unique, non-repeating, powers of 2 that sum to a given non-zero integer, n example: n = 23 result = [1 2 4 16] ...

10 months ago

Solved


Find the first occurence of a given gap between two consecutive prime numbers
Problem statement Given a gap = p' - p between the two consecutive prime numbers p and p', find its first occurence, f. E...

11 months ago

Solved


List primes which are the sum of two consecutive lower primes plus minus one
Problem statement Some prime numbers can be written as the sum of two consecutive lower primes plus / minus one : Like t...

11 months ago

Solved


Check p = 4n +/- 1, the generic formula for odd prime numbers
Problem statement For all odd prime number p, there exists a positive integer n, such that p = 4n +/- 1 : Check this f...

11 months ago

Solved


Check p = 6n +/- 1, the generic formula for odd prime numbers greater than 3
Problem statement For all odd prime number p greater than 3, there exists a positive integer n, such that p = 6n +/- 1 : ...

11 months ago

Solved


Find 0 in array
Given array find where there 0 is.

12 months ago

Solved


Calculate the sum of two polynomials
Calculate the sum of two polynomials if they are written in notation with their coefficients. example: () + () = a=[3 4 ...

12 months ago

Solved


Equal temperament - musical notes and frequency
Starting from 440Hz note (musical note A above middle C), create 13 notes, using twelve-tone equal temperament, in Herz units. ...

12 months ago

Solved


Count the ways to write 1/n as the sum of two unit fractions
The number 1/2 can be written as 1/3+1/6 and 1/4+1/4, and the number 1/9 can be written as 1/18+1/18, 1/12+1/36, and 1/10+1/90. ...

12 months ago

Solved


Sum of a geometric series
Give the sum of the first 'n' terms of a geometric series, given 'a' as the first term and 'r' as the ratio.

12 months ago

Load more