A résolu


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

presque 3 ans il y a

A résolu


Find Logic 11

presque 3 ans il y a

A résolu


Find Logic 15

presque 3 ans il y a

A résolu


Find Logic 21

presque 3 ans il y a

A résolu


Find Logic 20

presque 3 ans il y a

A résolu


Find Logic 26

presque 3 ans il y a

A résolu


Find Logic 25

presque 3 ans il y a

A résolu


Find Logic 27

presque 3 ans il y a

A résolu


Find Logic 23

presque 3 ans il y a

A résolu


Find Logic 22

presque 3 ans il y a

A résolu


Find Logic 12

presque 3 ans il y a

A résolu


Find Logic 10

presque 3 ans il y a

A résolu


Find Logic 8

presque 3 ans il y a

A résolu


Find Logic 7

presque 3 ans il y a

A résolu


Find Logic 6

presque 3 ans il y a

A résolu


Find Logic 4

presque 3 ans il y a

A résolu


Find Logic 3

presque 3 ans il y a

A résolu


Find Logic 1

presque 3 ans il y a

A résolu


Find Logic 13

presque 3 ans il y a

A résolu


Find Logic 14
Guess the Logic! logic(1) = 100 logic(2) = 96 logic(3) = 105 logic(4) = 89 logic(5) = 114 Make a function logic(x) which w...

presque 3 ans il y a

A résolu


Find Logic 17

presque 3 ans il y a

A résolu


Find Logic 16

presque 3 ans il y a

A résolu


Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...

presque 3 ans il y a

A résolu


Sum of series III
What is the sum of the following sequence: Σ(2k-1)^3 for k=1...n for different n?

presque 3 ans il y a

A résolu


Sum of series II
What is the sum of the following sequence: Σ(2k-1)^2 for k=1...n for different n?

presque 3 ans il y a

A résolu


Sum of series I
What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?

presque 3 ans il y a

A résolu


Draw a 'X'!
Given n as input Draw a 'X' in a n-by-n matrix. example: n=3 y=[1 0 1 0 1 0 1 0 1] n=4 y=[1 0 0...

presque 3 ans il y a

A résolu


Draw a 'Z'.
Given _n_ as input, generate a n-by-n matrix like 'Z' by _0_ and _1_ . Example: n=5 ans= [1 1 1 1 1 0 0 0 1 ...

presque 3 ans il y a

A résolu


Draw 'I'
Given n as input, draw a n-by-n matrix 'I' using 0 and 1. example: n=3 ans= [0 1 0 0 1 0 0 1 0] n=...

presque 3 ans il y a

A résolu


Draw 'O' !
Given n as input, generate a n-by-n matrix 'O' using 0 and 1 . example: n=4 ans= [1 1 1 1 1 0 0 1 ...

presque 3 ans il y a

Charger plus