Hi, so I have this racing game where cars are listed from cheapest to most expensive. List A has all the cars I have already unlocked and List B has only locked cars. The total amount is about 140 and I already have 100 for List A unlocked.
So I wanted to calculate the amount of money you need to buy all cars but didn't want to add them up. My idea was to take samples from each list that are proportionally distributed and make a fit for both and calculate the integral. How can I merge both samples from both lists?
Yes I could just do it the "correct" way and add them up one by one but I wanted to know what this problem is called and what to do if the lists were bigger.