Optimal Inventory Policies for Different Demand Structures