Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1c1675a

Browse files
Add sample cases to existing problems
1 parent ce8c525 commit 1c1675a

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

‎Pramp/Completed/70_ZeroLocator.spec.js

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
let arr1 = [[0, 0], [0, 0]];
2+
3+
let arr2 = [[1, 1, 1, 1], [1, 0, 0, 1], [1, 0, 0, 1], [1, 1, 1, 1]];
4+
5+
let arr3 = [
6+
[1, 1, 1, 1, 1, 1, 1],
7+
[1, 1, 1, 1, 0, 0, 1],
8+
[1, 1, 1, 1, 0, 0, 1],
9+
[1, 1, 1, 1, 0, 0, 1],
10+
[1, 1, 1, 1, 1, 1, 1]
11+
];
12+
13+
let arr4 = [
14+
[1, 1, 1, 1, 1, 1, 0, 0],
15+
[1, 1, 1, 1, 1, 1, 0, 0],
16+
[1, 1, 1, 1, 1, 1, 0, 0],
17+
[1, 1, 1, 1, 1, 1, 0, 0]
18+
];
19+
20+
let arr5 = [
21+
[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
22+
[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
23+
[1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1],
24+
[1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1],
25+
[1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1],
26+
[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
27+
];

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /