Programming Languages:
Python
Spoken Languages:
English
Pronouns:
Any pronouns
Python
Spoken Languages:
English
Pronouns:
Any pronouns
Feeds
已解决
Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...
5 years 前
已解决
Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...
5 years 前
已解决
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
5 years 前
已解决
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
5 years 前
已解决
Octoberfest festival
A group of students decided to visit Octoberfest festival. First they ordered one beer, then after half-hour they taken one more...
5 years 前
已解决
Is it really a 5?
A number containing at least one five will be passed to your function, which must return true or false depending upon whether th...
5 years 前
已解决
Find common elements in matrix rows
Given a matrix, find all elements that exist in every row. For example, given A = 1 2 3 5 9 2 5 9 3 2 5 9 ...
5 years 前