Your complete guide to cracking SDE-1/2 interviews at top tech companies (Google, Meta, Amazon, Microsoft, Apple)
1๏ธโฃ DSA Mastery
- 19 Core Patterns with complexity analysis and skeleton templates
- Quick Lookup Tables for instant pattern recognition (keyword โ pattern)
- 50+ Coded Solutions across arrays, graphs, strings, DP, trees, and more
- 10 Data Structures โ MinHeap, MaxHeap, PriorityQueue, BST, Trie, Segment Tree, Graph, LinkedList, Stack/MinStack, LRU Cache
- Advanced Algorithms: Segment Tree, Bitmask DP, Manacher's, Monotonic Deque, Rerooting DP
Quick Links:
- ๐ DSA Complete Guide - Deep dive with code templates
- โก DSA Quick Lookup - Fast pattern recognition cheatsheet
2๏ธโฃ System Design
- 10 Real System Designs - All optimized for 45-min SDE-2 interviews
- Interview-Ready Format - Perfect for MAANG/Unicorn/Startup interviews
- India-Specific Designs (Payment Gateway with UPI/Razorpay, Food Delivery like Swiggy/Zomato)
- Component Deep-Dives (Load Balancers, Caching, DB Sharding, Message Queues, Microservices, Monitoring)
- Low-Level Design (LLD) - SOLID principles, design patterns, class diagrams, common LLD problems
- API Design Patterns - REST vs GraphQL vs gRPC with trade-offs and code examples
- Distributed Systems Concepts - CAP theorem, consensus, replication, sagas, circuit breakers
- Trade-off Analysis for scalability decisions
All Designs SDE-2 Optimized: Payment Gateway, Uber, WhatsApp, Food Delivery, YouTube, Twitter, Instagram, URL Shortener, Distributed Cache, Netflix
Quick Links:
- ๐ System Design Guide - Complete framework
- ๐๏ธ Design Examples - SDE-2 optimized designs
- ๐ง Components - Building blocks explained in depth
- ๐งฑ Low-Level Design - SOLID, design patterns, LLD problems
- ๐ API Design Patterns - REST, GraphQL, gRPC
- โ๏ธ Distributed Systems - CAP, consensus, resilience
3๏ธโฃ Behavioral Interview
- STAR Method Framework for structured answers
- 20+ Story Templates covering all scenarios
- 7 Company Guides (Google, Meta, Amazon, Microsoft, Apple, India, Indian Startups)
- Amazon's 16 Leadership Principles - all updated with stories and examples
- India-Specific Behavioral Prep covering MAANG India offices and unicorn startups
- Mock Practice Framework with peer and self-practice protocols
- Salary Negotiation Guide - scripts, India benchmarks, RSU/ESOP evaluation
- Questions to Ask Interviewers - 50+ questions by category and company
- Offer Evaluation Framework - 5-dimension scoring, red flags, comparison template
Quick Links:
- ๐ Behavioral Guide - STAR method & frameworks
- โญ STAR Stories - Your personal story bank
- ๐ข Company-Specific - Culture fit guides (Google, Meta, Amazon, Microsoft, Apple, India, Indian Startups)
- ๐ฏ Mock Practice Framework - Structured practice guide
- ๐ฐ Salary Negotiation - Scripts, benchmarks, ESOP evaluation
- โ Questions to Ask - 50+ interview questions by category
- ๐ Offer Evaluation - Framework for comparing offers
4๏ธโฃ Interview Prep
- 8-Week Study Plan with daily goals and milestones
- Company-Specific Tips for MAANG interviews
- India-Specific Guide with salaries, companies, office locations, referral strategies
- Mock Interview Questions with detailed solutions
- Progress Tracking templates
Quick Links:
- ๐ 8-Week Study Plan - Structured learning path
- ๐ฏ Company-Specific Tips - MAANG focus areas
- ๐ฎ๐ณ India-Specific Guide - Salaries, companies, cities, referrals
- ๐ค Mock Questions - Practice interviews
- Comprehensive Salary Data for MAANG India and unicorn startups
- 18+ Top Companies including Flipkart, Razorpay, CRED, Swiggy, Zomato
- Office Locations Guide (Bangalore, Hyderabad, Gurgaon, Pune, Mumbai)
- Referral Strategies with templates and success rates
- India System Designs (Payment Gateway with UPI, Food Delivery platform)
Quick Links:
- ๐ผ India Behavioral Guide - MAANG India offices & culture
- ๐ Indian Startups Guide - Flipkart, Razorpay, CRED, Zepto, Swiggy, Zomato
- ๐ India Interview Prep - Complete India guide
- ๐ณ Payment Gateway Design - UPI, Razorpay-style system
- ๐ Food Delivery Design - Swiggy/Zomato architecture
# Start with pattern recognition
cat DSA/DSAQuickLookup.md
# Deep dive into specific patterns
cat DSA/DSACompleteGuide.md
# Practice with implementations
cd DSA/patterns
node sliding-window.js# Learn the framework
cat SystemDesign/SystemDesignGuide.md
# Study real designs
cat SystemDesign/designs/url-shortener.md# Learn STAR method
cat Behavioral/BehavioralGuide.md
# Prepare your stories
cat Behavioral/STAR-stories.md# 8-week structured preparation
cat InterviewPrep/StudyPlan-8weeks.md- SDE-1 / SDE-2 candidates preparing for top tech companies
- Self-learners who want comprehensive, organized interview prep
- Career switchers entering software engineering
- Anyone targeting Google, Meta, Amazon, Microsoft, Apple
| Category | Topics Covered | Difficulty | Completion |
|---|---|---|---|
| DSA | 19 patterns, 50+ algorithms, 10 data structures | โญโญโญโญโญ | โ Complete |
| System Design | 10 designs, 6 components, LLD, API patterns, distributed systems | โญโญโญโญโญ | โ Complete |
| Behavioral | STAR, 7 company guides, 16 Amazon LPs, salary negotiation, offer eval | โญโญโญโญ | โ Complete |
| Interview Prep | 8-week plan, India guide, company tips | โญโญโญ | โ Complete |
| India Resources | Salaries, companies, cities, referrals, designs | โญโญโญโญ | โ Complete |
tech-interview-master/
โโโ ๐ DSA/
โ โโโ DSACompleteGuide.md # Comprehensive pattern guide with TOC
โ โโโ DSAQuickLookup.md # Quick reference cheatsheet (20 categories)
โ โโโ patterns/ # 19 pattern files (two-pointers, backtracking, greedy, intervals, matrix, etc.)
โ โโโ algorithms/ # Core algorithms
โ โ โโโ array/ # Binary search, Kadane's, LIS, kSum
โ โ โโโ graph/ # 14 graph algorithms (Dijkstra, MST, SCC, etc.)
โ โ โโโ sorting/ # QuickSort, MergeSort, QuickSelect
โ โ โโโ string/ # KMP, Rabin-Karp
โ โ โโโ dp/ # 7 DP implementations (knapsack, LCS, edit distance, etc.)
โ โโโ data-structures/ # DS implementations
โ โโโ heap/ # MinHeap, MaxHeap, PriorityQueue
โ โโโ stack/ # Stack, MinStack
โ โโโ linked-list/ # LinkedList (reverse, cycle, merge, palindrome)
โ โโโ tree/ # BST, Trie, Segment Tree
โ โโโ graph/ # Graph (adjacency list, matrix, builders)
โ โโโ design/ # LRU Cache
โ
โโโ ๐๏ธ SystemDesign/
โ โโโ SystemDesignGuide.md # Framework & methodology
โ โโโ LowLevelDesign.md # SOLID, design patterns, LLD problems
โ โโโ APIDesignPatterns.md # REST vs GraphQL vs gRPC
โ โโโ DistributedSystemsConcepts.md # CAP, consensus, replication, resilience
โ โโโ designs/ # Real system designs
โ โ โโโ url-shortener.md # Complete design with capacity calc
โ โ โโโ twitter.md # Social media feed design
โ โ โโโ instagram.md # Photo sharing platform
โ โ โโโ youtube.md # Video streaming with CDN & transcoding
โ โ โโโ whatsapp.md # Real-time messaging with E2EE
โ โ โโโ uber.md # Ride-hailing with geospatial matching
โ โ โโโ netflix.md # Streaming platform with recommendations
โ โ โโโ distributed-cache.md # Cache design patterns
โ โ โโโ payment-gateway.md # ๐ฎ๐ณ Razorpay/PhonePe-style with UPI
โ โ โโโ food-delivery.md # ๐ฎ๐ณ Swiggy/Zomato architecture
โ โโโ components/ # Building blocks
โ โโโ load-balancer.md # L4/L7 balancing strategies
โ โโโ caching.md # Cache strategies & eviction
โ โโโ database-sharding.md # Sharding patterns
โ โโโ message-queues.md # Kafka, RabbitMQ, SQS patterns
โ โโโ microservices.md # Service mesh, API gateway, sagas
โ โโโ monitoring.md # Metrics, logs, traces, alerting
โ
โโโ ๐ผ Behavioral/
โ โโโ BehavioralGuide.md # STAR method framework
โ โโโ STAR-stories.md # Template for 15-20 stories
โ โโโ leadership-principles.md # Amazon's 16 Leadership Principles
โ โโโ MockPracticeFramework.md # Self & peer practice protocols
โ โโโ SalaryNegotiation.md # Scripts, benchmarks, ESOP evaluation
โ โโโ QuestionsToAsk.md # 50+ questions by category & company
โ โโโ OfferEvaluation.md # 5-dimension offer comparison framework
โ โโโ company-specific/ # Company culture guides
โ โโโ google.md # Googleyness & growth mindset
โ โโโ meta.md # Move fast, impact-driven culture
โ โโโ amazon.md # 16 Leadership Principles
โ โโโ microsoft.md # Growth mindset & collaboration
โ โโโ apple.md # Attention to detail & innovation
โ โโโ india-specific.md # ๐ฎ๐ณ MAANG India offices & culture
โ โโโ indian-startups.md # ๐ฎ๐ณ Flipkart, Razorpay, CRED, Swiggy, Zomato
โ
โโโ ๐ฏ InterviewPrep/
โ โโโ StudyPlan-8weeks.md # Day-by-day study plan
โ โโโ CompanySpecific.md # MAANG focus areas
โ โโโ India-Specific.md # ๐ฎ๐ณ Salaries, companies, cities, referrals
โ โโโ MockInterviewQuestions.md # Practice questions
โ
โโโ README.md # You are here!
โ
Comprehensive Coverage - DSA + System Design + Behavioral in one place
โ
Actionable Templates - Ready-to-use code and story frameworks
โ
Company-Specific - Tailored for Google, Meta, Amazon, Microsoft, Apple
โ
Complexity Analysis - Time/Space for every pattern and algorithm
โ
Progressive Learning - From fundamentals to advanced topics
โ
Interview-Focused - Real questions and scenarios from top companies
โ
LLD & Design Patterns - SOLID principles, patterns, class diagrams
โ
Salary & Offer Guidance - Negotiation scripts, ESOP evaluation, offer comparison
- LeetCode Top Interview Questions
- System Design Primer
- "Designing Data-Intensive Applications" by Martin Kleppmann
- "Cracking the Coding Interview" by Gayle Laakmann McDowell
- Company engineering blogs (Google, Meta, Amazon)
- Real interview experiences
If this repository helps you land your dream job:
- Star โญ this repo
- Share with friends preparing for interviews
- Contribute โ see CONTRIBUTING.md for guidelines
- Report issues โ found a bug or outdated info? Open an issue
This repository is licensed under the MIT License โ free to use, modify, and share.
See LICENSE for full terms.
Interview preparation is a marathon, not a sprint.
This repository contains everything you need to succeed, but remember:
- Consistency > Intensity - Study daily, even if just 1 hour
- Quality > Quantity - Understand patterns deeply, don't just memorize
- Practice > Theory - Code every pattern, design every system
- Mock > Solo - Practice with others to simulate pressure
You've got this! ๐ช
| Company | SDE-1 (0-2 yrs) | SDE-2 (2-5 yrs) | Office Locations |
|---|---|---|---|
| Google India | โน35-50 LPA | โน70-110 LPA | Bangalore, Hyderabad, Gurgaon |
| Meta India | โน40-65 LPA | โน80-140 LPA | Bangalore, Gurgaon |
| Amazon India | โน25-40 LPA | โน50-80 LPA | Bangalore, Hyderabad, Chennai |
| Microsoft India | โน35-55 LPA | โน70-120 LPA | Bangalore, Hyderabad, Noida |
| Apple India | โน30-50 LPA | โน60-100 LPA | Bangalore, Hyderabad |
| Company | SDE-1 (0-2 yrs) | SDE-2 (2-5 yrs) | Focus Area |
|---|---|---|---|
| Flipkart | โน25-45 LPA | โน55-90 LPA | E-commerce |
| Razorpay | โน20-35 LPA | โน35-50 LPA | Fintech/Payments |
| CRED | โน30-50 LPA | โน50-80 LPA | Fintech |
| Swiggy | โน25-40 LPA | โน40-65 LPA | Food Delivery |
| Zomato | โน22-38 LPA | โน38-58 LPA | Food Delivery |
| Zepto | โน28-45 LPA | โน45-70 LPA | Quick Commerce |
| PhonePe | โน25-42 LPA | โน42-75 LPA | Payments |
| Meesho | โน22-38 LPA | โน38-62 LPA | Social Commerce |
Note: All figures in Lakhs Per Annum (LPA). Includes base + RSUs/ESOPs. Stock values vary. See India-Specific.md for detailed breakdown.
Last Updated: March 2026
Status: โ
Complete (Volume 1 โ SDE-1/SDE-2)
Target: SDE-1/2 at top tech companies (Global & India)