Community Profile

Contact

Top 10% contributor

Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...

Solve this!

2 years ago

Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

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

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

Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

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

Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a location from the following list:

See all countries