Don't Include a Five
Given a vector A, return vector B with all 5s replaced with 0s.
7ヶ月 前
解決済み
High Five!
Write a function that takes a number x and returns y = 'High Five' if x is not equal to five. Return y = 'Denied' if the number ...
7ヶ月 前
解決済み
A Five Introduction
Write a function that takes a number x as an input and returns the same value as y, unless x = 5, in which case the function sho...
7ヶ月 前
解決済み
row removal
Consider a matrix and remove the first row of the matrix.
2年弱 前
解決済み
true or false
if the matrix has a zero, return true. else, return false
3年以上 前
解決済み
Inverse of Hilbert matrix
Given a non-negative integer x, return the element-wise power of 2 of the inverse of Hilbert matrix.
3年以上 前
解決済み
Find the complement of a number in binary
Input x is a decimal number and output y is the complement of binary representation of x.
For example, x = 10 has the binary ...
3年以上 前
解決済み
odd number odd sum
How many three digit numbers are there whose sum of the digits is odd?
Sum of 2 numbers in array
Given an array and a target sum, return true if any 2 numbers in the array sum up to the given target sum. Both numbers cannot h...