Filter interviews by
I applied via Approached by Company and was interviewed in Feb 2022. There were 4 interview rounds.
Given a tree and a node, print all ancestors of Node
Start from the given node and traverse up the tree
While traversing, keep track of the parent nodes
Print the parent nodes as you traverse up until reaching the root
Graph
Use a graph data structure to represent people as nodes and friend relations as edges
Each person can be represented as a node with their unique identifier
Friend relations can be represented as directed edges between nodes
This allows for efficient traversal and retrieval of friend connections
Reverse a linked list
Iterate through the linked list and change the direction of the pointers
Use three pointers to keep track of the previous, current, and next nodes
Recursively reverse the linked list
Code to find median of datapoints in two sorted arrays
Use binary search to find the median index
Divide the arrays into two halves based on the median index
Compare the middle elements of the two halves to determine the median
Custom stack with methods to return min and max elements
Implement a stack using an array or linked list
Track the minimum and maximum elements using additional variables
Update the minimum and maximum variables during push and pop operations
Implement methods to return the minimum and maximum elements
I was interviewed in Aug 2024.
Explanation of useState, useEffect, useMemo, and useCallback hooks in React functional components.
useState is used to manage state in functional components
useEffect is used for handling side effects like data fetching, subscriptions, etc.
useMemo is used for performance optimization by memoizing expensive calculations
useCallback is used for memoizing functions to prevent unnecessary re-renders
These hooks enhance functio...
Setting up Redux store, connecting components, managing actions and reducers, and using middleware like Redux Thunk or Redux Saga for handling asynchronous actions.
Setting up a Redux store involves creating a store with createStore() function from Redux, combining reducers with combineReducers(), and applying middleware like Redux Thunk or Redux Saga.
Connecting components to the Redux store can be done using the connec...
To add and manipulate elements in arrays using JavaScript, you can use array methods like splice() and slice().
Use the splice() method to insert elements into an array at a specific index. For example, arr.splice(index, 0, 'watermelon') will insert 'watermelon' at the specified index without removing any elements.
To manipulate elements in an array, you can use methods like splice() to remove elements or slice() to extr...
Math.floor() is a method in JavaScript that rounds a number down to the nearest integer.
Math.floor() returns the largest integer less than or equal to a given number.
It is commonly used to convert a floating-point number to an integer.
Example: Math.floor(3.9) returns 3.
Mocking components in Jest for testing with props and named exports
Use jest.mock() to mock components and their exports
For handling props, use jest.fn() to create mock functions and pass them as props to the component being tested
For named exports, use jest.mock() with a second argument to specify the module's exports
I applied via Recruitment Consulltant and was interviewed in Oct 2024. There were 3 interview rounds.
Use two threads to print even and odd numbers in sequence
Create two threads, one for printing even numbers and one for printing odd numbers
Use synchronization mechanisms like mutex or semaphore to ensure numbers are printed in sequence
Start both threads simultaneously and let them print numbers alternately
Detecting cycle in a linked list and discussing behavioral aspects
Explain how to use Floyd's Tortoise and Hare algorithm to detect a cycle in a linked list
Discuss the importance of understanding memory management in linked lists to prevent cycles
Explain the impact of cycles in linked lists on time complexity and space complexity of algorithms
What people are saying about Walmart
I applied via Walk-in and was interviewed in Sep 2024. There were 3 interview rounds.
SQL, python, PySpark basic to mid level questions.
Walmart interview questions for designations
I applied via Naukri.com and was interviewed in Jul 2024. There were 3 interview rounds.
Get interview-ready with Top Walmart Interview Questions
I applied via Approached by Company and was interviewed in Mar 2024. There were 5 interview rounds.
I applied via Referral and was interviewed in May 2024. There were 2 interview rounds.
Cycle detection in graph involves detecting if there is a cycle present in a graph data structure.
Use Depth First Search (DFS) or Breadth First Search (BFS) to detect cycles in a graph.
Maintain a visited set to keep track of visited nodes and a recursion stack to keep track of nodes in the current path.
If a node is visited again and is in the recursion stack, then a cycle is detected.
Example: Detecting a cycle in a dir
I applied via Walmart Careers Page and was interviewed in Mar 2024. There was 1 interview round.
PropTypes are a way to type-check props in React components to ensure they are passed correctly.
Used in React to specify the data type of props passed to a component
Helps catch bugs by providing warnings if incorrect data types are passed
Can be defined using PropTypes library or as static properties in a component
I applied via Recruitment Consulltant and was interviewed in Feb 2024. There was 1 interview round.
Memoization is a technique used in programming to store the results of expensive function calls and return the cached result when the same inputs occur again.
Memoization helps improve the performance of a function by caching its results.
It is commonly used in dynamic programming to optimize recursive algorithms.
Example: Memoizing a Fibonacci function to avoid redundant calculations.
A Promise is an object representing the eventual completion or failure of an asynchronous operation.
A Promise is used to handle asynchronous operations in JavaScript.
It represents a value that may be available now, or in the future.
A polyfill for Promise can be implemented using the setTimeout function to simulate asynchronous behavior.
I applied via Recruitment Consulltant and was interviewed in Oct 2023. There were 4 interview rounds.
I applied via LinkedIn and was interviewed in Dec 2023. There were 2 interview rounds.
Find the maximum ZigZag length in a tree.
Perform a depth-first search (DFS) on the tree to traverse all nodes.
Keep track of the maximum ZigZag length encountered during traversal.
At each node, calculate the ZigZag length by comparing the depths of the left and right children.
Update the maximum ZigZag length if the current ZigZag length is greater.
Count the number of alternate substrings in a given string.
Iterate through the string and check for alternating characters.
Keep track of the count of alternate substrings found.
Return the total count of alternate substrings.
Design a chatbot that supports both 1-1 and group chats
Implement a user authentication system to differentiate between 1-1 and group chats
Create separate chat rooms for group chats where multiple users can join
Include features like message notifications, file sharing, and message search functionality
Utilize natural language processing to understand and respond to user messages
Allow users to customize their chatbot sett
Some of the top questions asked at the Walmart Software Engineer III interview -
The duration of Walmart Software Engineer III interview process can vary, but typically it takes about less than 2 weeks to complete.
3 Interview rounds
based on 129 reviews
Rating in categories
Software Engineer III
1.7k
salaries
| ₹14 L/yr - ₹47 L/yr |
Senior Software Engineer
1.2k
salaries
| ₹21.7 L/yr - ₹80 L/yr |
Software Engineer
762
salaries
| ₹12 L/yr - ₹45 L/yr |
Assistant Team Leader
236
salaries
| ₹1.3 L/yr - ₹4.9 L/yr |
Software Development Engineer 3
230
salaries
| ₹15.6 L/yr - ₹46 L/yr |
Amazon
Flipkart
Microsoft Corporation