已解决


Number Puzzles - 008

2 years 前

已解决


Number Puzzles - 007

2 years 前

已解决


Number Puzzles - 006

2 years 前

已解决


Flipping a Matrix
Flipping matrix up and down. If a central row is exists, leave it, and flip remaining rows. Example Mat = magic(3) ...

2 years 前

已解决


Prime number removal
remove all prime numbers from the input e.g. input = 1 2 3 4 5 6 7 8 9 10 11 12 ...

2 years 前

已解决


Give prime Numbers upto n
You are given a input number x; print all the prime numbers less than equal to x.

2 years 前

已解决


Times 10
Try out this test problem first. Given the variable x as your input, multiply it by ten and put the result in y. Examples:...

2 years 前

已解决


Number Puzzle - 054

2 years 前

已解决


Number Puzzle - 053

2 years 前

已解决


Number Puzzle - 052

2 years 前

已解决


Number Puzzle - 051

2 years 前

已解决


Remove the middle element from a vector
Remove the middle element of a vector? *Example:* [1,2,3] should return 2 [1,2,3,4] should return 2 [] should return...

2 years 前

已解决


Number Puzzle - 084

2 years 前

已解决


Number Puzzle - 083

2 years 前

已解决


Number Puzzle - 082

2 years 前

已解决


Number Puzzle - 081

2 years 前

已解决


Number Puzzle - 080

2 years 前

已解决


Number Puzzle - 079

2 years 前

已解决


Number Puzzle - 078

2 years 前

已解决


Number Puzzle - 077

2 years 前

已解决


Number Puzzle - 076

2 years 前

已解决


Number Puzzle - 075

2 years 前

已解决


Add 3 (x<=100) Or Subtract 100 and add 3(100<x)
Add 3 to every element. However, if the value is greater than 100, subtract 100 and add 3. eg. input x = [45 106; 67 1...

2 years 前

已解决


Draw a X
Given an input , create a square matrix of zeros with an X of ones. Ex. n = 3 drawX(3) [ 1 0 1 0 1 0 1 0 1 ] ...

2 years 前

已解决


Draw "C" in a zero matrix
Given a x-by-x matrix filled with zeros (x> 4). Use 1 to draw a letter C into it! Like this: x = 5, y = 1 1 1 1 1 1 0 0 0 1 ...

2 years 前

已解决


Draw "T" inside a Zero Matrix
Given a x-by-x matrix filled with zeros (x> 2). Use 1 to draw a letter "T" into it! Like this: x = 5, y = 1 1 1 1 1 0 0 1 0 0...

2 years 前

已解决


Draw 'S'
draw S using nxn matrix, where n is odd and greater than 4 S = [1 1 1 1 1 1 0 0 0 0 1 1 1 1 1 0 0 0 0 1 ...

2 years 前

已解决


Number Puzzle - 050

2 years 前

已解决


Number Puzzle - 049

2 years 前

加载更多