You are viewing a single comment's thread. Return to all comments →
To pass test case 11, change journeyToMoon signature. It should return long, not integer.
static int journeyToMoon(int V, int[][] astronaut) -> static long journeyToMoon(int V, int[][] astronaut)
Hackerrank please fix your boilerplate.
Journey to the Moon
You are viewing a single comment's thread. Return to all comments →
To pass test case 11, change journeyToMoon signature. It should return long, not integer.
static int journeyToMoon(int V, int[][] astronaut) -> static long journeyToMoon(int V, int[][] astronaut)
Hackerrank please fix your boilerplate.