Community Profile

photo

Nguyen Ngoc Doan


Last seen: 16 días hace Con actividad desde 2024

Followers: 0   Following: 0

Estadísticas

  • Solver

Ver insignias

Feeds

Ver por

Resuelto


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

25 días hace

Resuelto


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: Input...

25 días hace

Resuelto


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displayed ...

25 días hace

Resuelto


Add two numbers
Given a and b, return the sum a+b in c.

25 días hace

Resuelto


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:...

29 días hace