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.
Hi...
Did this work for you ? I have pretty much written a similar piece of code, but around 5 test cases(13,14,16,17,19) are failing. Could you please tell me what's wrong with this code?
// Complete the checkMagazine function below.
static void checkMagazine(String[] magazine, String[] note) {
Map map = new HashMap();
Integer n = 0;
Hash Tables: Ransom Note
You are viewing a single comment's thread. Return to all comments →
Hi... Did this work for you ? I have pretty much written a similar piece of code, but around 5 test cases(13,14,16,17,19) are failing. Could you please tell me what's wrong with this code?
// Complete the checkMagazine function below. static void checkMagazine(String[] magazine, String[] note) { Map map = new HashMap(); Integer n = 0;