The Molecule Report
An easy Python mock interview question on DataDriven, with an AI interviewer who asks follow-up questions and a hire or no-hire decision at the end.
- Domain
- Python
- Difficulty
- easy
- Seniority
- L4
Interview Prompt
A genomics pipeline hands you raw sequencing reads as strings over the bases A, C, G, and T, though some come back contaminated with stray characters. For each read, return a dict reporting whether it is clean, its GC content as a percentage of the read's length, how many times each base occurs, and the most common pair of consecutive bases.
Summary
Four letters. A lot of math hidden in the sequence.
How This Interview Works
- Read the vague prompt (just like a real interview)
- Ask clarifying questions to the AI interviewer
- Write and run your Python against test cases
- Answer the interviewer's follow-up questions, then get a hire or no-hire decision