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.
- New Year Chaos
- Discussions
New Year Chaos
New Year Chaos
Sort by
recency
|
278 Discussions
|
Please Login in order to post a comment
public static void minimumBribes(List q) { // Write your code here HashMap seen = new HashMap<>(); //To store the seen values
public static void minimumBribes(List q) { int bribes = 0;
}
My code runs normally in Jupyter but gives different results on this website. Could any please help? Thanks!
Hi folks, anyone able to suggest why this wouldn't be working? It passes all the sample tests, and tests 0, 1, and 11, but not the others. Have tried taking the test inputs and checking a few parts of them and they seem to work, so I don't know where the issue is.
It's not failing on time
can someone explain what is wrong with this code-