Offline Dynamic Inventory and Pricing Strategy: Addressing Censored and Dependent Demand