mirror of
https://github.com/TheAlgorithms/Java.git
synced 2026-03-13 08:40:43 +08:00
Add automatic linter (#4214)
This commit is contained in:
@@ -7,8 +7,7 @@ class zigZagPattern {
|
||||
int start = 0, index = 0, height = 1, depth = numRows;
|
||||
char[] zigZagedArray = new char[s.length()];
|
||||
while (depth != 0) {
|
||||
int pointer = start, height_space = 2 + ((height - 2) * 2),
|
||||
depth_space = 2 + ((depth - 2) * 2);
|
||||
int pointer = start, height_space = 2 + ((height - 2) * 2), depth_space = 2 + ((depth - 2) * 2);
|
||||
boolean bool = true;
|
||||
while (pointer < s.length()) {
|
||||
zigZagedArray[index++] = s.charAt(pointer);
|
||||
|
||||
Reference in New Issue
Block a user