Programming Languages:
Python
Spoken Languages:
English
Pronouns:
Any pronouns
Python
Spoken Languages:
English
Pronouns:
Any pronouns
統計
All
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年以上 前
解決済み
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年以上 前
解決済み
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
5年以上 前
解決済み
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年以上 前
解決済み
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年以上 前
解決済み
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年以上 前
解決済み
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年以上 前