Closed teja-tummuri closed 7 years ago
We get an error here because at the beginning domainMap is empty. Hence the Collections.max() method returns null.
We have to handle the initial case separately.
We get an error here because at the beginning domainMap is empty. Hence the Collections.max() method returns null.
We have to handle the initial case separately.