r/csMajors • • 15d ago

Databricks AI algorithms Interview

Hello,

I want to ask if there is sb who gave the DB interview and if it could share what the interview expected them to do? Was it talking to the AI to write the whole code, should you also build the test cases together with the AI? What seemed to be the expectations from the interviewer? Did it have more follow-ups that needed to be coded with the help of AI?

2 Upvotes

1 comment sorted by

1

u/BackgroundBreak6485 11d ago

No first-hand report yet that I've seen, but Databricks' own description of the round (shared by another candidate) answers most of your questions:

▎ "…design solutions while focusing on algorithmic efficiency and appropriate data structure selection, and then use AI to implement the solution during parts of the interview. We expect you to analyze time/space complexity using Big-O, demonstrate comprehensive testing strategies, and clearly articulate your approach to guiding an LLM to address edge cases and design decisions."

Answering your questions in order:

- AI writes the whole code? No. You design, and the AI implements "during parts." Clarify the problem, choose the approach and data structures, and state the Big-O yourself, before prompting. That part is graded like a normal algorithm round.

- Tests with the AI? Yes, "comprehensive testing strategies" is explicitly graded. You decide the categories (basic, edge, large, adversarial), and the AI can generate the cases and boilerplate. Run them, and diagnose failures yourself before asking the AI to fix them.

- What the interviewer expects: that you guide the LLM, telling it the edge cases and design decisions explicitly instead of saying "solve this." Then you review its output (does it match your design and your complexity claim? did it miss edge cases?) and narrate what you're checking.

- Follow-ups? Expect them, like any Databricks round: optimize it, or a changed requirement. Redesign verbally first, then prompt again in small steps.

Practice: take LC mediums, design each one out loud for about 5 minutes, then implement it only by prompting an assistant in small steps, review the output, and test it. After 10–15 problems you'll know what the AI gets wrong and what to double-check.

Please share after your round! Databricks reports: https://aceoffer.app/interviews/databricks · AI-assisted round guide: https://aceoffer.app/interviews/ai-coding