Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
The man is standing on a mountain. While walking N, W , S his latitude changes and by E he'll be entering a cave deep in the mountain for his next Quest.
Because the man was given directions to go from one point to another.
If he just stays still people will think he hasn't reached his destination.
That path is reductable. You chose a wrong example.
Need save a path in initial order
This comment is hidden because it contains spoiler information about the solution
I agree. Instruction is stupid
I understood that need save the sequence but i don't see it in intstructions.
And "… a man was given directions to go from one point to another." but " Hence the result path is itself : ["NORTH", "WEST", "SOUTH", "EAST"]."
Why man need walk around if he comes to the same point?
m and n are arguments of your function, why would them be fixed?
The length and width of the rectangle are not fixed. Very bad task description
Start by looking for the dependence of the first number of the pyramid row on the number of this row.
If you get this formula, then you will determine the number for the beginning of the cycle, in which you will need to add up all the odd numbers of this series.
Wrong how? In which language? Provide some proof.
Thanks! I thought import is automatic. Now all correct.
That looks like you missed some
import
sWhy i get tese errors?
./src/main/java/Kata.java:3: error: cannot find symbol
List index = new ArrayList<>();
^
symbol: class List
location: class Kata
./src/main/java/Kata.java:3: error: cannot find symbol
List index = new ArrayList<>();
^
symbol: class ArrayList
location: class Kata
./src/main/java/Kata.java:10: error: cannot find symbol
List nums = new ArrayList<>();
^
symbol: class List
location: class Kata
./src/main/java/Kata.java:10: error: cannot find symbol
List nums = new ArrayList<>();
^
symbol: class ArrayList
location: class Kata
./src/main/java/Kata.java:15: error: cannot find symbol
Collections.sort(nums);
^
symbol: variable Collections
location: class Kata
5 errors