Interview experience
Walmart interview experiences covering Online Assessment, Technical Round 1, Technical Round 2, HR. Round-wise notes, common questions, and what candidates report clears each stage.
Explore: Interview experience · HR interview questions · Overview · Placement papers · Preparation guide
Walmart’s India tech hiring runs through Walmart Global Tech - its engineering organisation for e-commerce, supply chain, and enterprise platforms - via a 4-stage DSA-plus-system-design loop that mirrors other large product companies, not a retail-store process.
Interview experience
Walmart interview experiences covering Online Assessment, Technical Round 1, Technical Round 2, HR. Round-wise notes, common questions, and what candidates report clears each stage.
HR interview questions
Walmart HR interview questions with sample answer frameworks - motivation, relocation, STAR stories, and culture-fit prompts.
| Round | Duration | What they test |
|---|---|---|
| Online Assessment | 90 min | ~25 CS-fundamentals MCQs + 2 DSA problems (LeetCode Medium) |
| Technical Round 1 | 45-60 min | DSA (1-2 problems) + OOPs + SQL |
| Technical Round 2 | 45-60 min | Low-level/object-oriented design + project deep-dive |
| HR | 20-30 min | Behavioural + culture fit |
These answers are compiled from public candidate reports, not from an official Walmart Global Tech notice, and drives differ by campus and year. The instruction screen of your own test is the final word.
| Question | Answer |
|---|---|
| How many questions and how long? | 60-90 minutes of CS-fundamentals MCQs plus 1-2 coding problems, varying by drive. A March 2024 intern drive had 10 MCQs (OS, DBMS, CN, DSA) and 2 coding problems in 90 minutes; a September 2024 campus drive had 22 MCQs in 35 minutes and 2 coding problems in 40 minutes; an early-2026 Bengaluru report had 25 MCQs and 1 coding problem in about an hour. |
| Does it have negative marking? | Not published. None of the public Walmart reports we read mentions a penalty, so read the instruction screen before guessing. |
| Is there partial credit on coding? | Yes, test-case-based. In the 2024 intern OA the two problems carried 30 and 50 points and candidates received partial marks for partly passing solutions, but fully passing code is what gets shortlisted. |
| How much is the cutoff? | No test cutoff is published; shortlists are relative to the batch (36 of 114 test-takers in the 2024 intern drive). A September 2024 campus drive shortlisted on CGPA without stating the bar; a 7.0+ CGPA or 70% figure is sometimes cited but we found no recent report confirming it. |
| Which platform is it on? | HackerEarth on most reported campus drives, including the March 2024 intern drive and an early-2026 Bengaluru report. A September 2024 campus drive used HirePro, and the Sparkplug internship contest (October 2024) ran on Unstop. |
| What level is the coding? | LeetCode medium. Reported OA problems include making two strings equal with swaps, counting unreachable pairs after removing an edge in a graph, IPv4 address validation and trapping rain water. |
| Is it an intern or full-time offer? | Campus drives often hire 6-month SDE interns with full-time offers for some: in the 2024 drive all 24 final candidates got the internship and 10 also got a full-time offer. |
Walmart Global Tech hires campus engineers as SDE interns and SDE-1s. These are questions candidates have reported in public interview write-ups; they show the level, not a fixed list.
| Role | Reported questions and topics |
|---|---|
| SDE intern (campus) | Minimum distance between two nodes of a binary tree, right-shifting subarrays across range queries, stack using queues, time slots when three students are all free. OS interrupts, what happens when you type a URL, hub vs switch, SQL vs NoSQL, normalisation up to BCNF, virtual functions and static vs dynamic binding with live OOP code (Shape, Rectangle, Square). |
| SDE-1 (campus, September 2024) | OA: count the factors of each number, a vowel-consonant swap string problem. Interviews: SQL joins on paper, what happens when you message a friend on WhatsApp through the OSI layers, spiral matrix with a dry run, resume and internship deep dives. |
| Sparkplug internship contest (2025 batch) | 25 eliminatory MCQs on OOP, OS, DBMS and C/C++ output, then two coding rounds: minimum-cost package delivery with DSU, articulation points, grid word search with DFS, divisor queries. |
| SDE-1 (fresher) | Top-K frequent elements, shortest path in a grid with BFS, merging overlapping delivery-slot intervals, second-highest salary in SQL, polymorphism with a retail example. |
| Design round (SDE-1) | Classes and schema for a shopping cart or inventory service, project architecture and the hardest bug you hit, cart and checkout failure modes. |
Asked across every role: a walk through your projects (one intern candidate was asked for a GitHub demo), your past internship, and in HR, motivation, ownership and relocation to Bangalore or Chennai.
A 90-minute timed screen on HackerEarth, HirePro, or HireVue mixing CS-fundamentals MCQs with 2 DSA coding problems at LeetCode-Medium difficulty. Contest-style 2025-26 drives sometimes split ~25 MCQs in 25 minutes from two coding problems in a longer window - read your TNP mail for section timers. This is the highest-volume filter in the process - clean, fully-passing solutions matter more than clever partial ones. CGPA cutoffs are often 7.0+ / 70% with no active backlogs (candidate-reported).
Common questions
A 45-60 minute DSA-focused round (often on HirePro) that opens with a short introduction, then moves into 1-2 medium-level coding problems, followed by OOPs and SQL questions.
Common questions
Shifts from pure coding to low-level/object-oriented design plus a detailed project discussion. For freshers this stays at OOD and basic database-schema-modeling depth rather than full high-level architecture; domain chat around inventory, cart/checkout, or search is common.
Common questions
Round-by-round narratives are on the Walmart interview experience page.
A closing 20-30 minute conversation on motivation, ownership, and logistics (relocation to Bangalore or Chennai, notice period). Concrete, results-oriented answers outperform generic slogans.
Common questions
Sample answer frameworks for each of these are on the Walmart HR interview questions page.
Walmart’s India engineering hiring goes through Walmart Global Tech (Bangalore, Chennai), which builds the e-commerce, supply chain, and enterprise software used across Walmart and Sam’s Club - a DSA-plus-system-design loop like Amazon or Flipkart’s. This is entirely separate from Walmart’s retail/store-associate hiring in the US, which does not run a technical interview process. If you’re prepping from this page, you’re prepping for the Global Tech software track.
Split the string on dots and reject it unless there are exactly four parts. Each part must be non-empty, at most three characters, made only of digits, and numerically between 0 and 255 inclusive. The edge case interviewers always check is leading zeros - “01” and “00” are invalid, so reject any part longer than one character that starts with “0”. Validation is O(1) per address because the length is bounded, so scoring an array of n addresses into a boolean array is O(n). Avoid relying on a language’s built-in parser, since many of them accept octal or shortened forms that the problem considers invalid.
Water above bar i equals min(maxLeft, maxRight) - height[i], where maxLeft and maxRight are the tallest bars on each side. The naive version computes those per index in O(n^2); prefix and suffix max arrays bring it to O(n) time with O(n) space. The optimal version uses two pointers starting at both ends with running leftMax and rightMax: whichever side has the smaller height is the limiting one, so you can safely add leftMax - height[left] (or the mirror on the right) and move that pointer inward. That is O(n) time and O(1) space, and the key insight to say aloud is that the smaller side’s answer is already determined by its own running max.
Count frequencies in a hash map in O(n), then extract the top K. Using a min-heap of size K and pushing each of the d distinct entries while popping when the heap exceeds K gives O(d log K) time and O(d + K) space, which is the standard answer. Bucket sort does better: create an array of n+1 buckets indexed by frequency, drop each element into its bucket, then walk from the highest bucket downwards collecting K elements - that is O(n) time overall because a frequency can never exceed n. Quickselect on the frequency list is another linear-average option. Mention the heap version first, then offer bucket sort as the improvement.
The safest form uses DENSE_RANK, which handles ties correctly: SELECT DISTINCT salary FROM (SELECT salary, DENSE_RANK() OVER (ORDER BY salary DESC) AS rnk FROM employees) t WHERE rnk = 2;. A simpler classic is SELECT MAX(salary) FROM employees WHERE salary < (SELECT MAX(salary) FROM employees);, which returns NULL rather than erroring when no second salary exists. The LIMIT 1 OFFSET 1 form on a DISTINCT ordered list also works but returns nothing at all in the empty case, which some interviewers count against you. Note that RANK would leave gaps after ties, so DENSE_RANK is the right window function here.
Use BFS from the source, pushing the start cell into a queue with distance zero and expanding to its four (or eight) neighbours that are in bounds and not blocked, marking each visited as you enqueue it - not as you dequeue it, or cells get queued multiple times. The first time you pop the target you have its shortest distance, because BFS visits cells in nondecreasing distance order. Complexity is O(RC) time and O(RC) space for an R by C grid. DFS is wrong here since it finds some path, not the shortest; if the grid has non-uniform move costs you need Dijkstra, or 0-1 BFS with a deque when costs are only zero or one.
Sort the intervals by start time, then sweep once: keep the current merged interval, and for each next interval, if its start is less than or equal to the current end, extend the current end to the maximum of the two ends; otherwise push the current interval to the output and start a new one. Sorting dominates at O(n log n) time, with O(n) space for the result. The details interviewers check are whether touching intervals like [1,3] and [3,5] should merge - clarify that up front - and remembering to append the final in-progress interval after the loop ends.
Polymorphism lets one interface stand for many implementations. Compile-time polymorphism is overloading - several addItem methods differing in parameters, picked by the compiler. Run-time polymorphism is overriding - a DiscountPolicy interface with a calculate(cartTotal) method implemented by PercentageDiscount, FlatDiscount, and BuyOneGetOne, where the checkout service holds a DiscountPolicy reference and the JVM dispatches to the actual object’s method at run time. The practical payoff is that adding a festival discount means writing one new class rather than editing a growing switch statement inside checkout, which is the Open/Closed Principle in action. The mechanism underneath is the virtual method table the runtime consults on each call.
Start with the entities: Product (id, name, price, taxCategory), CartItem (product reference, quantity, line total), and Cart (cart id, customer id, list of CartItem, plus addItem, removeItem, and updateQuantity methods that keep the totals consistent). Keep pricing out of Cart - inject a PricingService and a DiscountPolicy interface so promotions can vary without touching cart logic - and keep persistence behind a CartRepository interface. Store the price captured at add-time on the CartItem, not only a live lookup, so a mid-session price change does not silently alter what the customer saw. On the schema side, a carts table plus a cart_items table with a unique constraint on (cart_id, product_id) prevents duplicate lines, and checkout should convert the cart into an immutable Order rather than mutating it further.
Not published. None of the public Walmart Global Tech candidate reports we read mentions a penalty; coding is scored on test cases with partial marks, so read the instruction screen of your own test before guessing on MCQs.
Usually 60-90 minutes of CS-fundamentals MCQs plus 1-2 coding problems. HackerEarth is the most reported platform (a March 2024 intern drive had 10 MCQs and 2 coding problems in 90 minutes; an early-2026 Bengaluru report had 25 MCQs and 1 coding problem in about an hour). A September 2024 campus drive used HirePro (22 MCQs and 2 coding problems in 75 minutes), and the Sparkplug internship contest runs on Unstop.
Walmart Global Tech India’s SDE process usually runs 4 stages: 1. Online Assessment (90 min) - roughly 25 CS-fundamentals MCQs plus 2 DSA coding problems (LeetCode Medium), on HackerEarth or HirePro. 2. Technical Interview 1 (45-60 min) - 1-2 more DSA problems plus OOPs and SQL. 3. Technical Interview 2 (45-60 min) - low-level/object-oriented design and a detailed project discussion. 4. HR / hiring-manager round (20-30 min) on motivation, ownership, and fit. Total timeline is roughly 3-6 weeks.
Software roles. This page covers Walmart Global Tech India - the engineering org behind Walmart’s e-commerce, supply chain, and enterprise platforms, based mainly in Bangalore and Chennai. It hires SDEs through a DSA-plus-system-design loop similar to other product companies, not through retail/store-associate hiring, which runs a completely different process.
Reported coding questions include an IPv4-address-validation problem (return a boolean array marking each address valid/invalid), the rain-water-trapping problem, DFS-based grid/graph problems, Top-K frequent elements (heap/bucket sort), and shortest path in a grid (BFS). SQL questions like finding the second-highest salary in a table are common, alongside OOPs fundamentals. Later rounds bring domain discussion around inventory, cart/checkout, and search.
Typically 4: an Online Assessment, two Technical Interviews (the first DSA-heavy, the second leaning into LLD/system design and project depth), and a closing HR/managerial round. Some drives compress this to 3 rounds or fold HR into the final technical round.
Drill LeetCode Medium-level DSA (arrays, graphs, intervals, heaps) since both the OA and Technical Round 1 lean on it. Revise OOPs and SQL - second-highest-salary-style queries come up often. For the design round, freshers get object-oriented/LLD questions (class design, basic DB schema) rather than full HLD, so practice designing a small system (e.g. a cart or inventory service) end-to-end. Keep one detailed project story ready for stack choices and the hardest bug you debugged.
Candidate reports put SDE-1 packages roughly in the ₹18-25 LPA range (base plus stock), though this varies by year, college tier, and role. Confirm the exact figure on your offer letter rather than relying on aggregated reports.
Use this as a default four-week loop before a Walmart drive. Adjust to your invite timeline.
10-day crash version: Days 1-4 timed DSA, days 5-7 resume projects + CS fundamentals, days 8-9 mock interviews out loud, day 10 HR STAR stories on the HR page.
Candidate-reported fresher/early-career packages for Walmart often cite ₹15-25 LPA fresher SWE band. Treat forum numbers as ranges, not guarantees - confirm the written offer letter for your team and location.
Interview process details and sample questions on this site are editorially organized from public candidate reports and hiring write-ups, with round structure, prep notes, and company-specific framing added by our team. For round-by-round stories, see the Walmart interview experience page. For OA papers and coding drills, use Walmart on placementpapers.app. OA quick answers and role-wise questions draw on a March 2024 Walmart SDE intern college-hiring report on interviewexperiences.in, GeeksforGeeks’ Walmart SDE on-campus 2024 (physical) and Sparkplug SDE Internship 2025 reports, 2020-2026 Glassdoor and LeetCode Discuss reports seen via search snippets, and the earlier candidate reports already summarised on this page.