SDE-1 / SDE-2 / Senior • 2026 Updated

Software Engineer Interview Questions

💻 45+ questions 📚 4 round types 🏢 Asked at Google, Amazon, Microsoft, Flipkart, Swiggy

Whether you're preparing for your first SDE-1 role or targeting a Senior Engineer position at a FAANG, these are the questions that actually come up. Each question includes the interviewer's real intent, a structured answer framework, a spoken-ready sample answer, and the red flags that get candidates rejected.

45+Total Questions
4Round Types
15+Companies Covered
100%Free, No Sign-Up

🗣️ HR & Culture Fit

Salary expectations, career gaps, why you're leaving, strengths & weaknesses — the questions that trip up even strong coders.

⭐ Behavioral (STAR)

Conflict resolution, leadership, failure stories, and teamwork — structured using the STAR method with Amazon LP mapping.

⚡ Technical / Coding

Data structures, algorithms, problem-solving approach, and code quality — what senior interviewers really evaluate beyond the correct answer.

🏗️ System Design

Scalability, database choices, caching, load balancing — the architectural thinking that separates mid-level from senior engineers.

🔥

5 Most-Asked Questions (Quick Preview)

Asked at 90%+ of interviews
1
"Tell me about yourself."
Easy to answer well Hard to stand out
Every Company
🎯 Why They Ask This

This is NOT a biography request. The interviewer wants to understand three things in 60 seconds: what you do now, one concrete proof that you're good at it, and why this specific role excites you. They're also calibrating your communication clarity for the rest of the interview.

Winning Framework
1Present — One sentence about your current role, team, and core technical focus. "I'm currently a Software Engineer at [Company], working on [specific system/product]."
2Proof — One tangible achievement with a measurable impact. "Recently, I led the migration of our monolith checkout to microservices, which cut response times by 40%."
3Future — Connect your ambition to THIS specific company/role. "Your engineering blog on event-driven architecture is exactly where I want to deepen my skills, which is why this role stood out."

Sure, I'd be happy to give you the quick version.

I'm currently a Software Engineer at Razorpay, where I work on the payments infrastructure team. My day-to-day is building and maintaining the APIs that process about 2 million transactions a day — so reliability and latency are basically my entire world.

The project I'm most proud of from this past year is redesigning our retry and idempotency layer. We were seeing about 0.3% of payments fail silently during bank timeouts. I proposed and built a state-machine-based retry system with exponential backoff, and it brought that failure rate down to under 0.02%. That translated to roughly ₹4 crore in recovered revenue per month.

The reason I'm excited about this role is that your team is building the payment orchestration platform from the ground up. That intersection of distributed systems and direct business impact is exactly where I do my strongest work, and I'd love to contribute to that from day one.

Red Flags to Avoid
  • Starting with your childhood, school, or city — the interviewer loses interest in 10 seconds
  • Reciting your entire resume chronologically — they already have it in front of them
  • Speaking for more than 90 seconds — brevity signals confidence and clarity
  • Generic answers that could apply to any company — "I'm passionate about technology" means nothing
  • Mentioning nothing about why THIS company — it signals you're spraying applications
Practice answering this live under pressure ClapAssist listens to the question in real-time and shows you what to say — completely invisible on screen share.
Try Free →
2
"Walk me through a project you're most proud of."
Medium
Google Amazon Flipkart
🎯 Why They Ask This

They want to see if you can explain complex technical work clearly, whether you understand the business impact of what you built, and how deeply you contributed vs. just being on the team. This is where senior candidates separate themselves — ownership and depth matter more than the project size.

Winning Framework
1Context — One sentence on what the team/product was and why this project mattered. "Our payments team needed to handle 3x traffic growth without adding latency."
2Your Role — Be specific about YOUR contribution, not the team's. Use "I" not "we." "I designed the caching layer and wrote the migration script."
3Technical Decisions — Name 1-2 key decisions and WHY you made them. Show tradeoff thinking. "I chose Redis over Memcached because we needed persistence across restarts."
4Impact — Quantify the outcome. Revenue, latency, users, or incidents prevented. "Response times dropped from 800ms to 120ms, and we handled Black Friday traffic without a single page."

The project I'm most proud of was redesigning the notification delivery pipeline at my current company. We're a B2B SaaS with about 2,000 enterprise customers, and our notification system — emails, in-app alerts, webhooks — was a single monolithic worker processing everything sequentially.

The problem was that during peak hours, a single customer sending a bulk campaign would block notifications for everyone else. We were getting 15-20 escalations a month about delayed alerts.

I proposed and led the migration to an event-driven architecture using Kafka with per-customer partitioning. The key design decision was implementing priority queues with fair scheduling — so time-sensitive webhooks (like payment confirmations) would never wait behind bulk marketing emails, even from the same customer.

I owned the architecture doc, wrote the core consumer service in Go, and built a shadow-traffic testing framework to validate it before the cutover. The migration took 6 weeks with zero downtime.

The result: p99 notification latency dropped from 45 seconds to under 2 seconds, customer escalations went to near-zero, and we handled a 4x traffic spike during our product launch without any intervention.

Red Flags to Avoid
  • Saying "we" for everything — the interviewer wants to know what YOU did specifically
  • Describing the project without any measurable impact — "it worked well" tells nothing
  • Choosing a college project when you have professional experience — it signals lack of real ownership
  • Not explaining WHY you made certain technical decisions — just listing technologies used
3
"Why are you looking to leave your current company?"
Trap Question
Every Company
🎯 Why They Ask This

This is a character test disguised as a career question. They're checking for: professionalism (do you badmouth employers?), self-awareness (do you know what you actually want?), and flight risk (will you leave US in 6 months too?). The right answer pulls TOWARD the new role, never pushes AWAY from the old one.

Winning Framework
1Acknowledge — Say one genuinely positive thing about your current role. "I've learned a lot about building reliable systems at scale."
2Growth Gap — Name the specific growth dimension you've outgrown. "I've hit the ceiling on the kind of architectural decisions I get to make in my current structure."
3Pull to New — Connect that gap directly to what THIS role offers. "Your team owns the entire stack end-to-end, and that kind of ownership is exactly what I'm looking for."

Honestly, I've had a great run at my current company. I joined as a junior engineer and I've grown into a solid mid-level developer here — the team is strong and I've shipped meaningful work.

But over the last year, I've realized that I'm mostly optimizing existing systems rather than designing new ones. The architecture decisions are made at the principal level and then handed down, which made sense when I was learning, but I've reached a point where I want to be in the room making those decisions.

What attracted me to this role specifically is that your engineering team operates with a high degree of autonomy — I noticed from your engineering blog that individual engineers own service architecture end-to-end. That's the kind of environment where I can have the most impact and continue growing.

Red Flags to Avoid
  • Badmouthing your current manager, team, or company — instant rejection signal
  • Saying "better salary" as the primary reason — makes you look mercenary and a flight risk
  • Being vague: "I just want a change" — signals you haven't thought about what you actually want
  • Listing complaints without connecting to what the new role offers — push vs. pull
4
"Tell me about a time you disagreed with a teammate or manager."
Behavioral
Amazon Microsoft Walmart
🎯 Why They Ask This

At Amazon, this maps to the Leadership Principle "Have Backbone; Disagree and Commit." They want to see that you can push back respectfully with data, that you don't just roll over to avoid conflict, AND that once a decision is made you commit fully — even if it wasn't your preference. The best answers show the disagreement was about the WORK, not about egos.

Winning Framework
SSituation — Set the context: what was being decided, who was involved, what was at stake. Keep it to 2 sentences.
TTask — What was your specific role or responsibility in this decision?
AAction — How did you express the disagreement? Did you bring data? Did you propose an alternative? Show maturity, not stubbornness.
RResult — What happened? If you "won," show the positive outcome. If you "lost," show that you committed fully and it worked out.

Last quarter, my team lead proposed migrating our entire authentication system from JWT tokens to session-based auth. His reasoning was that JWTs were causing issues with token revocation when we needed to force-logout compromised accounts.

I disagreed with the full migration approach. I ran a quick analysis and found that only 3% of our auth flows actually needed immediate revocation — primarily admin and billing operations. A full migration would have taken 6 weeks and introduced risk across all our services.

Instead, I proposed a hybrid approach: keep JWTs for standard user sessions (which covered 97% of traffic), but add a short-lived session layer specifically for sensitive operations with a Redis-backed revocation list. I put together a one-page doc comparing the two approaches — engineering hours, risk surface, and rollback complexity — and presented it in our next architecture review.

My lead agreed to try the hybrid approach first. We shipped it in 2 weeks instead of 6, the revocation issue was fully resolved, and we didn't touch the majority of our auth infrastructure. He actually referenced it later as a good example of "disagree with data, not opinions."

Red Flags to Avoid
  • Making the other person look incompetent — "my manager had no idea what he was doing"
  • Describing a personal conflict rather than a professional disagreement
  • Saying "I just went along with it" — shows no backbone
  • Not mentioning how the disagreement was resolved — the resolution is the point
5
"How would you design a URL shortener like bit.ly?"
System Design
Google Uber Intuit
🎯 Why They Ask This

The URL shortener is a classic "entry-level system design" question because it seems simple but reveals your thinking about scale, storage, hashing, read vs. write ratios, caching, and analytics. Interviewers use it to calibrate your architectural maturity before asking harder design questions. A senior candidate is expected to proactively discuss tradeoffs, not wait to be asked.

Winning Framework
1Clarify Requirements — Ask: How many URLs per day? Do we need analytics? Custom aliases? Expiration? Always clarify before designing.
2High-Level Design — Client → API Gateway → Write Service (generates short code, stores in DB) / Read Service (looks up and 301 redirects). Separate read and write paths.
3Key Decisions — ID generation (counter vs. hash vs. base62 encoding), database choice (relational for consistency vs. NoSQL for scale), caching strategy (cache the hot 20% of URLs in Redis).
4Scale & Tradeoffs — Read-heavy workload (100:1 read:write), so aggressive caching. Discuss sharding, replication, and what breaks at 1B URLs.

Before I jump into the design, let me clarify a few things. I'll assume we need to handle about 100 million new URLs per month, the read-to-write ratio is roughly 100:1, URLs should be as short as possible, and we need basic click analytics.

High-level architecture: At the top, we have a load balancer distributing traffic to two service types — a Write Service for creating short URLs and a Read Service for redirecting. Both backed by a shared database and a caching layer.

URL generation: I'd use a distributed ID generator (like Twitter's Snowflake) to produce unique 64-bit IDs, then Base62-encode them to get a 7-character short code. This avoids collision entirely and gives us ~3.5 trillion unique URLs before we run out.

Storage: A relational database like PostgreSQL for the mapping table — short_code (primary key), original_url, created_at, expiry, user_id. With 100M URLs/month, that's about 1 TB/year which is very manageable with partitioning.

Caching: Since reads dominate, I'd put a Redis cache in front of the database. The top 20% of URLs likely account for 80% of redirects. Cache hit ratio should be above 90%, bringing p99 redirect latency under 10ms.

Analytics: Every redirect fires an async event to Kafka, consumed by an analytics service that aggregates click counts, geographic data, and referrer info. This keeps the redirect path fast and decoupled from analytics processing.

At scale: If we need to go beyond a single database, I'd shard by the first two characters of the short code. And for the read service, we can scale horizontally since it's stateless with the cache handling most traffic.

Red Flags to Avoid
  • Jumping straight into code without clarifying requirements or discussing tradeoffs
  • Using MD5/SHA hash and truncating — collision handling becomes a nightmare at scale
  • Not discussing caching at all — ignoring that reads dominate shows lack of systems thinking
  • Designing only for the happy path — not considering what happens when the DB goes down or a cache stampede occurs
Practice explaining system designs out loud Real interviews test your communication under pressure, not just your knowledge. ClapAssist gives you real-time speaking prompts during the actual call.
Try Free →

Explore all 45+ questions organized by interview round:

🗣️ HR Questions (12) ⭐ Behavioral (12) ⚡ Technical (12) 🏗️ System Design (10)
Undetectable AI for live interviews

Crack any interview, no matter how tough

You can memorize every answer on this page. But when the interviewer asks an unexpected follow-up, interrupts mid-sentence, or throws a curveball you didn't prepare for — that's when most candidates freeze.

ClapAssist runs silently during your Zoom, Meet, or Teams call. It hears the exact question and shows you what to say in under a second — completely invisible on screen share.

Download ClapAssist with 10 Free Minutes →
Mac and Windows · Completely undetectable to interviewers · No credit card required