Leetcode Implement Dynamic Pricing Algorithms In Social Media