Q#4: First or Third Class Mailers?

Suppose you’re trying to optimize a mailing campaign where physical mail is sent to potential customers. There are two options to send advertising mail: either first class or third class. First-class costs $0.50 per parcel with a delivery rate of 99% and third-class costs $0.35 per parcel with a delivery rate of 65%. Third-class mail also receives a volume discount, if a batch of parcels is greater than 500, for first 500 are $0.35 and anything additional costs $0.32 per parcel.

Questions:

  1. Assume our goal is to reach as many people with a cap of $1000, which option would be the best?
  2. Assume our goal is to reach 100 people, what option is best?

Credit to -erik@interviewqs.com (Feel free to sign up for questions)

Try it yourself

Answer:

This is a statistics question and relies on your ability to calculate expected returns.

Let’s break down question 1 first with $1000 dollars using 1st class mail, I would expect to reach the following number of people:

1000/$0.5*.99 = 1980 people

Similarly we can calculate the number of people reached with the third class mail (a little more careful on the math):

First 500: 500*.65 = 325 people reached
1000 - 500*$0.35 = $825 left over
825/$0.32*.65 = 1675 people
Total = 325 + 1675 = 2000 people reached

Now we clearly see that if our goal is to target the most number of people with the same budget, using third class mail is the better option.

For question two, we now have to consider how much it would cost to reach a certain number of people using either first or third class mail. It is still an expected value question.

For first class mail:

100people/.99*$.50 = $50.50

For third class mail:

100people/.65*$.35 = $53.90

Here we see that first class mail is the better option if we want to reach a target number of people under the bulk discount value.

--

--

--

Data Science tutorial working through solutions to Data Science Interview Questions

Recommended from Medium

5 direct impacts of poor-quality data

Month 18 — Reaping the benefit of Pandas in my Data Analytics work

Deepwater Data

Make working with large DataFrames easier, at least for your memory

The Importance Of Centralising Experiments

«Weekly Report» The Change of AIDUS QTS Profit Rate (December 18, 2020)

Google Data Analytics Professional Certificate Program— my experience

Of Divas and Data: How Mariah Carey & Private Planes Are Making Your Data Messy

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Abish Pius

Abish Pius

Data Science Professional who teaches with unflashy, simple to understand python code.

More from Medium

AIRBNB — Seattle data Analysis

Seattle city image

How Not to: Data Science Journey.

Data Science Internship Experience at LGMVIP

Goal Setting in Data Science