Loading interview...

The Triple Alliance

A hard Python mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.

Domain
Python
Difficulty
hard
Seniority
mid, senior

Interview Prompt

Given a list of integers and a target value k, return all unique triplets - groups of three distinct indices - whose values sum exactly to k. No triplet should be repeated, and the order of triplets in the output does not matter.

How This Interview Works

  1. Read the vague prompt (just like a real interview)
  2. Ask clarifying questions to the AI interviewer
  3. Write your python solution with real code execution
  4. Get instant feedback and a hire/no-hire decision