Community Profile

photo

mahmoud hatem elnashar


5 total contributions since 2019

mahmoud hatem elnashar's Badges

  • Solver

View details...

Contributions in
View by

Solved


Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

3 Monate ago

Solved


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

3 Monate ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

3 Monate ago

Solved


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

3 Monate ago

Solved


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

3 Monate ago