已解决


Remove all the columns contains only zero
Remove the column from the matrix which has only zeros . Refer the Example below a= 1 0 3 0 23 0 56 0 1 ...

5 months 前

已解决


row removal
Consider a matrix and remove the first row of the matrix.

5 months 前

已解决


Find Rows with Specift Properities
Delete rows with specific properites as following: Find rows that have a negative value in any element of the row and delete it...

5 months 前

已解决


Remove a specific column with min value
Remove the column that contain the min value in the matrix? If you like the problem, please give it a like:)

5 months 前

已解决


Remove a specific column with max value
Remove the column that contain the max value in the matrix? If you like the problem, please give it a like:)

5 months 前

已解决


Remove a specific row with min value
Remove the row that contain the min value in the matrix? If you like the problem, please give it a like:)

5 months 前

已解决


Remove a specific row with max value
Remove the row that contain the max value in the matrix? If you like the problem, please like it :)

5 months 前

已解决


Draw a '4' in a zero matrix!

5 months 前

已解决


Draw a '6' in a zero matrix!

5 months 前

已解决


Draw a '9' in a zero matrix!

5 months 前

已解决


Draw a '7' in a zero matrix!

5 months 前

已解决


Draw a '8' in a zero matrix!

5 months 前

已解决


Draw a '3' in a zero matrix!

5 months 前

已解决


Draw a '2' in a zero matrix!

5 months 前

已解决


Draw a '5' in a zero matrix!

5 months 前

已解决


Draw a '1' in a zero matrix!

5 months 前

已解决


Draw 'J'
Given n as input, generate a n-by-n matrix 'J' using 0 and 1 . Example: n=5 ans= [0 0 0 0 1 0 0 0 0 1 0 0 ...

5 months 前

已解决


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

5 months 前

已解决


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

5 months 前

已解决


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

5 months 前

已解决


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

5 months 前

已解决


Draw 'D'.
Draw a x-by-x matrix 'D' using 0 and 1. example: x=4 ans= [1 1 1 0 1 0 0 1 1 0 0 1 1 1 1 0]

5 months 前

已解决


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

5 months 前

已解决


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

5 months 前

已解决


Convert given decimal number to binary number.
Convert given decimal number to binary number. Example x=10, then answer must be 1010.

5 months 前

已解决


Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

5 months 前

已解决


Can we make a triangle?
Given three positive number, check whether a triangle can be made with these sides length or not. remember that in a triangle su...

5 months 前

已解决


Find the sides of an isosceles triangle when given its area and height from its base to apex
Find the sides of an isosceles triangle when given its area and the height from its base to apex. For example, with A=12 and h=...

5 months 前

已解决


Height of a right-angled triangle
Given numbers a, b and c, find the height of the right angled triangle with sides a and b and hypotenuse c, for the base c. If a...

5 months 前

已解决


Find my daddy long leg (No 's')
Given the ratio of the two legs (longer / shorter), and the hypotenuse length, find the value of the bigger leg.

5 months 前

加载更多