What companies ask · mid
What Indian product companies ask in machine coding
Machine coding is usually the first filter at Indian product companies: Flipkart wants modular vanilla JavaScript apps in 90–180 minutes followed by a code walkthrough, Razorpay and Zepto want reusable React components, Swiggy uses HackerRank or CodeSandbox builds, Atlassian's first screen bans React, and Uber and PhonePe mix machine coding with DSA.
Explain it out loud
Explain it out loud to an AI interviewer that follows up, and see where your answer is thin.
Practise by voiceThe notes
What you must know
- Flipkart (UI Engineer 2 / senior): 90–180 minute builds, often plain HTML/CSS/JS with modular code; recent tasks: a Google Calendar clone, a chat platform; code submitted as a zip, then reviewed line by line (naming, folder structure, 'functional vs class', debounce for typing).
- Razorpay: machine coding first; 'real-world feature with generic reusable components' — MUI-style Tabs (2024), autocomplete (2025), a component with pagination and API search (SDE-2, Nov 2025); 2026 senior reports mention AI-assisted machine coding.
- Zepto: toast system (1.5–2 h), progress bars, a configurable form, an API batching function and a global toast queue for React Native; early rounds can be run by a third-party vendor.
- Swiggy: HackerRank OA with a React build (file explorer), a component kit described by JSON, full-stack CRUD scored by hidden tests; CodeSandbox preferred.
- CRED (older reports, still cited): vanilla typeahead with the given API, a React form with PAN/Aadhaar fields and 'optimise for 10+ inputs'.
- PhonePe: machine coding is the main filter, 90–120 minutes, judged on modularity, validation, error handling and extensibility; a 2026 report ran it on a hackathon platform with a zip submission and a 30-minute implementation review.
- Atlassian: Karat screen in plain JS/CSS (no React), then React machine coding judged on edge cases and code quality ('output alone does not guarantee selection'); tasks include gating UI behind an async feature-flag API and tabs with lazy panels.
- Uber: grid lights, multiple counters, a task scheduler, Map Async Limit, on CodeSignal; Headout/Meesho: virtualised lists and config-driven tables with variable-height virtualisation.
The red pen
Common traps: mistake → fix
Mistake: Only practise React
Fix: Flipkart and Atlassian screens may forbid frameworks.
Mistake: Treat it like LeetCode
Fix: the rubric rewards structure, states, accessibility and communication, not just output.
Mistake: Ignore the walkthrough
Fix: code you can't explain line by line fails the review round.
Easy to hard
Questions interviewers ask, easy to hard
- Which companies on your list run vanilla-only rounds, and how did you prepare?
- Walk me through the code you submitted: why this file structure?
- What would you change to make this component reusable across teams?
- Build the same feature again in half the time: what would you skip?
Explain it out loud
Explain it out loud to an AI interviewer that follows up, and see where your answer is thin.
Practise by voiceYour first interview is free
Sign up and start with a 15-minute interview with the full report, and an English conversation. No card needed.