Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

HR Interview Preparation

STAR Method

The gold standard for answering behavioral questions:

ComponentDescriptionExample
SituationSet the context“During my internship at X, the team was facing…”
TaskYour specific responsibility“I was tasked with reducing API latency…”
ActionWhat YOU did (not the team)“I profiled the code, identified N+1 queries, and…”
ResultQuantified outcome“Reduced p99 latency from 2s to 200ms”

Common HR Questions

“Tell me about yourself”

Framework: Present → Past → Future

  • Present: “I’m a final-year CS student at X, currently working on Y”
  • Past: “Previously, I interned at Z where I…”
  • Future: “I’m looking to apply my skills in [area] at [company]”

“Why this company?”

  • Research specific products/technology
  • Mention company values that align with yours
  • Talk about specific projects that excite you
  • Don’t say: “Good salary” or “Brand name”

“What are your strengths?”

  • Pick 2-3 relevant strengths
  • Back each with a concrete example
  • Example: “I’m persistent — when debugging a distributed race condition, I spent 3 days tracing logs and eventually found the root cause in a clock skew issue”

“What are your weaknesses?”

  • Pick a real but non-critical weakness
  • Show self-awareness and improvement
  • Example: “I used to over-engineer solutions. Now I follow YAGNI and start simple, refactoring only when needed.”

“Tell me about a conflict with a teammate”

STAR format:

  • Situation: Disagreement about architecture choice
  • Task: Need to reach consensus
  • Action: Presented data, proposed compromise, tested both approaches
  • Result: Agreed on hybrid approach, shipped on time

“Tell me about a failure”

  • Pick a real failure (not a humble brag)
  • Show what you learned
  • Example: “I pushed a config change without testing in staging. It caused a 10-minute outage. Since then, I always test in staging and have a rollback plan.”

Salary Negotiation

  1. Research: Glassdoor, Levels.fyi, company-specific data
  2. Don’t give a number first: “I’m flexible, what’s the range for this role?”
  3. If pressed: Give a range based on research (not a single number)
  4. Consider total compensation: Base + bonus + RSUs + benefits
  5. Negotiate professionally: “Based on my research and the scope of the role, I was expecting closer to X. Is there flexibility?”

Questions to Ask the Interviewer

  • “What does a typical day look like for this role?”
  • “What are the biggest challenges the team is facing?”
  • “How is the on-call rotation structured?”
  • “What does the growth path look like?”
  • “What’s the team’s tech stack and development process?”

References