Vrutik_2809's blog

By Vrutik_2809, history, 6 months ago, In English

While submitting the solution for this problem, I am getting exit code 11. My solution can be found here Can someone please help me out?

 
 
 
 
  • Vote: I like it
  • 0
  • Vote: I do not like it

»
6 months ago, # |
  Vote: I like it 0 Vote: I do not like it

This is the source of an error:

java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because the return value of "java.util.Map.get(Object)" is null
	at Solution.solve(Solution.java:34)
	at Solution.main(Solution.java:12)

I resolved this error. Check out this new solution