How many unique Pythagorean triples?
For a given integer |n|, return all <https://en.wikipedia.org/wiki/Pythagorean_triple Pythagorean triples> that inlude numbers s...
ongeveer 7 jaar ago
Solved
Product of Each Column
Given a matrix |mat| with |n| columns, return a row vector |v| of length |n|, where every element in |v| is the product of the |...
ongeveer 7 jaar ago
Solved
Triangle of numbers
Create a matrix with the integers from 1 to |n| arranged in a triangular shape.
Every row |i| of the matrix contains |i| inte...
ongeveer 7 jaar ago
Solved
Times 2 - START HERE
Try out this test problem first.
Given the variable x as your input, multiply it by two and put the result in y.
Examples:...