Memory Efficient And Minimax Distribution Estimation Under Wasserstein Distance Using Bayesian Histograms