Company: paypal
Difficulty: medium
\n Java: Inventory Clearance Sale \n \n \n A software developer at a leading e-commerce platform helps merchants optimize their warehouse space by identifying items that need to be cleared out due to overstocking. The developer must create a function to analyze a list of products and determine which are eligible for a clearance sale based on their sales velocity and stock levels. \n \n The sales velocity is defined as the number of units sold per day, and the stock level is the current quantity of the product in the warehouse. \n \n The identifyClearanceItems method receives a list of products of size n, each with a sales velocity and stock level. A product is eligible if the stock level is greater than or equal to 10 times the sales velocity. For instance, if a product has a sales velocity of 2 units/day and a stock level of 20 or more, it is eligible for clearance. \n \n\n \n Implementation Requirements \n \n Create a class called Product that implements the IProduct interface:\n \n