Community Profile

Professional Interests: acoustics, ultrasonics, signal processing

Contact

Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

Solve this!

2 years ago

A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

Given a and b, return the sum a+b in c.

Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...