Test if two numbers have the same digits
Given two integers _x1_ and _x2_, return |true| if the numbers written with no leading zeros contain the same digits. That is, t...
5 years ago
Solved
Replace Nonzero Numbers with 1
Given the matrix x, return the matrix y with non zero elements replaced with 1.
Example:
Input x = [ 1 2 0 0 0
...
5 years ago
Solved
Areas
Given certain dimensions determine the area of that shape. If given only one value assume its the radius. Use round(x) to round ...