Solved


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

2 years ago

Solved


Draw 'B'
Draw a x-by-x matrix 'B' using 1 and 0. (x is odd and bigger than 4) Example: x=5 ans= [1 1 1 1 0 1 0 0 0 1 ...

2 years ago

Solved


Find the Pattern 5

2 years ago

Solved


Find the Pattern 4

2 years ago

Solved


Find the Pattern 3

2 years ago

Solved


Find the Pattern 2

2 years ago

Solved


Find the Pattern 1

2 years ago

Solved


Find Logic 32

2 years ago

Solved


Find Logic 31

2 years ago

Solved


Find Logic 30

2 years ago

Solved


Find Logic 29

2 years ago

Solved


Find Logic 28

2 years ago

Solved


Find Logic 27

2 years ago

Solved


Find Logic 26

2 years ago

Solved


Find Logic 25

2 years ago

Solved


Find Logic 24

2 years ago

Solved


Find Logic 23

2 years ago

Solved


Find Logic 22

2 years ago

Solved


Find Logic 21

2 years ago

Solved


Find Logic 20

2 years ago

Solved


Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

2 years ago

Solved


Draw a '4' in a zero matrix!

2 years ago

Solved


Draw a '6' in a zero matrix!

2 years ago

Solved


Draw a '9' in a zero matrix!

2 years ago

Solved


Draw a '7' in a zero matrix!

2 years ago

Solved


Draw a '8' in a zero matrix!

2 years ago

Solved


Draw a '3' in a zero matrix!

2 years ago

Solved


Draw a '2' in a zero matrix!

2 years ago

Solved


Draw a '5' in a zero matrix!

2 years ago

Solved


Find x rows where the sum of the numbers is the maximum
Find x rows where the sum of the numbers is the maximum. For example: when x is 2 and m is 2 3 5 0 2 3 5 5 6 0 9 4 then y =...

2 years ago

Load more