We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Jumping on the Clouds: Revisited
Jumping on the Clouds: Revisited
Sort by
recency
|
1135 Discussions
|
Please Login in order to post a comment
C# static int jumpingOnClouds(int[] c, int k) { var energy = 100; var currentCloud = 0;
}
python
static int jumpingOnClouds(int[] c, int k) { int energyLevelRemaining = 100; int i = 0; // Initialize i outside the loop
}
static int jumpingOnClouds(int[] c, int k) { int n=c.length; int e=100; for(int i=0;i
Java