Skip to content

kartikth40/tech-interview-master

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

66 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

๐ŸŽฏ Tech Interview Master

License: MIT Stars PRs Welcome Contributors Issues JavaScript Target Companies

Your complete guide to cracking SDE-1/2 interviews at top tech companies (Google, Meta, Amazon, Microsoft, Apple)

Because preparation = confidence = success โœจ


๐Ÿ“š What's Inside?

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:


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:


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:


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:


5๏ธโƒฃ India-Specific Resources ๐Ÿ‡ฎ๐Ÿ‡ณ

  • 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:


๐Ÿš€ Quick Start Guide

For DSA Practice:

# 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

For System Design:

# Learn the framework
cat SystemDesign/SystemDesignGuide.md

# Study real designs
cat SystemDesign/designs/url-shortener.md

For Behavioral Prep:

# Learn STAR method
cat Behavioral/BehavioralGuide.md

# Prepare your stories
cat Behavioral/STAR-stories.md

Follow the Study Plan:

# 8-week structured preparation
cat InterviewPrep/StudyPlan-8weeks.md

๐ŸŽฏ Target Audience

  • 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

๐Ÿ“Š Coverage Overview

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

๐Ÿ—บ๏ธ Repository Structure

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!

๐ŸŒŸ Key Features

โœ… 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


๐Ÿ“š Resources Used

  • 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

โญ Support & Contributing

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

๐Ÿ“ License

This repository is licensed under the MIT License โ€” free to use, modify, and share.

See LICENSE for full terms.


๐ŸŽฏ Final Words

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! ๐Ÿ’ช


๐Ÿ’ฐ India Salary Ranges (2026)

MAANG India Offices

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

Indian Unicorn Startups

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)

About

A complete, no-fluff interview playbook covering DSA, System Design, and Behavioral prep for SDE roles

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Contributors