fbpx

#kotlinDevChallenge – 22

Write a function to aggregate sales data from a list of transactions, each containing multiple product IDs. Use a ProductsDatabase class with methods to retrieve product details by ID and to get all products. The function should return the names of the most sold products. Include an option to limit the number of product names […]