Number of toolboxes?
Return a number equal to the number of toolboxes available to the Cody solvers.
6 years 前
已解决
The proportion of NaN in the data
If NaN occupies less than half of the input data, return 1,
otherwise return 0.
eg.
input x = [1 2 NaN ; 4 NaN 6] >>> out...
Funny problems
Generate the following vector:
if n=1
then
q=1;
elseif n=2 then
q=[2 2 1];
elseif n=3 then
q=[3 3 3 2 2 1];
...
end
6 years 前
已解决
英語の文章内の母音を取り除くコードを書きましょう。
与えられた英語の文章内の母音を取り除きましょう。
例:
入力 s1 が 'Jack and Jill went up the hill' の場合、
出力 s2 は 'Jck nd Jll wnt p th hll'
* (英語版) ...
6 years 前
已解决
Create an 'arrow-head" matrix
Write a function that when given an odd number, produces an arrow-head function pointing to the right.
Examples
n = 3
...
Eight Queens Solution Checker
Write a function to verify whether an arrangement of queens on a chessboard is a valid solution to the classic <http://en.wikipe...
6 years 前
已解决
N-Queens Checker
Picture a chessboard populated with a number of queens (i.e. pieces that can move like a queen in chess). The board is a matrix,...