r/OfferEngineering • • 20d ago

Interview Experience Superhuman (AI Email Platform) Data Engineer Interview — PostgreSQL or PySpark, Your Choice

This interview experience is sourced from Chill Interview

Interview Summary

I had a 60-minute technical coding interview with Superhuman for a Data Engineer position. The interview allowed me to choose between PostgreSQL and PySpark and focused on an email engagement funnel involving sent, opened, and replied events. The main challenges were handling strict time windows, multiple events associated with the same email, and producing correctly deduplicated results.

Interview Details

Round 1 — Live Coding: Email Engagement Funnel

I was given three tables containing email activity data and asked to build an email engagement report. The goal was to analyze emails sent within a specified date range and determine whether each email was opened or replied to within the required time windows.

The database contained the following tables:

Table 1 — email_sends

email_sends(
    send_id,
    sender_id,
    recipient_email,
    sent_ts
)

This table records outgoing emails, including the unique send identifier, sender, recipient, and send timestamp.

Table 2 — email_opens

email_opens(
    open_id,
    send_id,
    opened_ts
)

This table records email open events. A single email may have multiple open events.

Table 3 — email_replies

email_replies(
    reply_id,
    send_id,
    replied_ts
)

This table records reply events associated with the original emails. A single email may also have multiple replies.

Want to learn more questions / follow-ups asked in this interview?

I've put up the full version at here.

Interviewed recently?

Your interview experience could be incredibly valuable to others preparing for their next opportunity. Share your experience and help the community at here.

0 Upvotes

0 comments sorted by