3 years ago
Given the number x, y must be the summation of all integers from 1 to 2^x.
For instance if x=2 then y must be 1+2+3+4=10.
Regardless of input, output the string 'yes'.
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN.
Given the input n, return true if n is odd or false if n is even.
Try out this test problem first.
Given the variable x as your input, multiply it by two and put the result in y.
Join the conversation