This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
You have been given a list of products which is having property productName, quantity and description. | |
PROBLEM STATEMENTS: | |
1. you need to write a function say, getUniqueProductCount which should return count of each Product(as an object) present in the given list of Products considering Product Name as Key. | |
Sample Output for the given listOfProducts will be : |