Filter interviews by
2 qns. Dp and backtracking. Problems were medium level.
I was interviewed before Feb 2024.
Multiple choice + leetcode medium
Develop a take home project involving fetching data from APIs
Create a project that fetches data from a public API such as weather forecast or news articles
Use libraries like Axios or Fetch API to make API calls
Display the fetched data in a user-friendly interface
Implement error handling for failed API calls
I applied via LinkedIn and was interviewed before Jan 2024. There was 1 interview round.
I applied via Job Fair and was interviewed before Sep 2023. There were 3 interview rounds.
Questions related to oops, java and OS were asked
Question 1 was on tree data structure
Question 2 was on bit manipulation
Designing a search engine system involves creating algorithms for indexing, ranking, and retrieving relevant information.
Consider using inverted index for efficient searching
Implement ranking algorithms like PageRank or TF-IDF
Utilize web crawlers to gather and index web pages
Include features like autocomplete and spell correction for user-friendly experience
Walmart interview questions for designations
Question about basic engineering subjects and coding
Get interview-ready with Top Walmart Interview Questions
I was interviewed in Aug 2021.
Round duration - 90 minutes
Round difficulty - Medium
This was a proctured online coding round where we had 2 questions to solve under 90 minutes . The questions were a bit lengthy but the implementation part was quite easy .
Given a text message, your task is to return the Run-length Encoding of the given message.
Run-length encoding is a fast and simple method of encoding strings, repres...
Implement a function to encode a text message using run-length encoding.
Iterate through the message and count consecutive characters
Append the character and its count to the encoded message
Handle edge cases like single characters or empty message
Given an array/list ARR
of integers with size 'N', your task is to determine the minimum number of increments needed to make all elements of the array distinct. You...
Find the minimum number of increments needed to make all elements of the array distinct by increasing any element by 1 in each operation.
Iterate through the array and keep track of the frequency of each element.
For each element with frequency greater than 1, increment it until it becomes distinct.
Return the total number of operations needed to make all elements distinct.
Round duration - 50 Minutes
Round difficulty - Easy
This Round was DS/Algo + Core round and it started with formal introduction, followed by 3 problems. We first dicussed the
approach the time complexity and proper code covering all cases for the 2 coding problems . The last question was related to OS and was a bit theoretical .
Given a string STR
, return all possible non-empty subsequences with distinct characters. The order of the strings returned is not important.
STR = ...
Return all possible non-empty subsequences with distinct characters from a given string.
Use a recursive approach to generate all possible subsequences with distinct characters.
Keep track of the characters used in each subsequence to ensure uniqueness.
Return the generated subsequences as an array of strings.
In this intellectual game, Ninja is provided with a string of balanced parentheses called STR
. The aim is to calculate the score based on specific game rules. If Nin...
Calculate the score of a string of balanced parentheses based on specific game rules.
Iterate through the string and keep track of the score based on the rules provided
Use a stack to keep track of the scores of valid parentheses expressions
For each '()', increment the score by 1; for '(x)', double the score of x
Return the final computed score for the string
Demand paging is a memory management technique where pages are loaded into memory only when they are needed.
Pages are loaded into memory on demand, rather than all at once.
Helps in reducing the amount of physical memory needed.
Improves overall system performance by allowing more processes to run simultaneously.
Commonly used in modern operating systems like Linux and Windows.
Example: When a program is executed, only the...
Round duration - 40 Minutes
Round difficulty - Medium
I was given 2 preety good questions of DSA in this round . One was related to Binary Trees and the other was a good DP problem in which I struggled a bit but with some hints I was able to solve this problem too . The last question was related to OOPS and was preety easy .
Given the POSTORDER
and PREORDER
traversals of a binary tree, where the tree consists of N nodes with each node representing a distinct positive integer fr...
Construct a binary tree from given POSTORDER and PREORDER traversals.
Use the first element in PREORDER as the root node
Find the root node in POSTORDER to divide the tree into left and right subtrees
Recursively construct left and right subtrees using the divided traversals
You are given a bag of capacity 'W' kg and a list 'cost' of costs for packets of oranges with different weights. Each element at the i-th position in the list...
Find the minimum cost to buy a specific weight of oranges given the cost of different weight packets.
Iterate through the list of costs and find the minimum cost to achieve the desired weight.
Keep track of the minimum cost for each weight up to the desired weight.
Handle cases where a specific weight packet is unavailable by setting the cost to infinity.
Return the minimum cost for the desired weight, or -1 if it is not p
Static polymorphism is achieved at compile time through method overloading and overriding. Dynamic polymorphism is achieved at runtime through method overriding.
Static polymorphism is also known as compile-time polymorphism.
Dynamic polymorphism is also known as runtime polymorphism.
Static polymorphism is achieved through method overloading, where multiple methods have the same name but different parameters.
Dynamic poly...
Round duration - 30 Minutes
Round difficulty - Easy
This is a cultural fitment testing round .HR was very frank and asked standard questions. Then we discussed about my role.
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
I was interviewed in Mar 2021.
Round duration - 120 minutes
Round difficulty - Medium
This was the online round held at Hackerearth. All students who met the eligibility criteria were shared link for the online test on hackerearth.
Given a string str
of size N
, your task is to recursively remove consecutive duplicates from this string.
T (number of test cases)
N (length of the ...
Recursively remove consecutive duplicates from a given string.
Use recursion to check for consecutive duplicates in the string.
If current character is same as next character, skip the next character.
Repeat the process until no consecutive duplicates are found.
Given a binary tree of integers, your task is to calculate the sum of all the leaf nodes present at the deepest level of this binary tree. If there are no such nodes, ...
Calculate the sum of leaf nodes at the deepest level of a binary tree.
Traverse the binary tree to find the deepest level of leaf nodes.
Sum the leaf nodes at the deepest level.
Handle null nodes represented by -1.
Ensure the sum fits within a 32-bit integer.
Round duration - 60 minutes
Round difficulty - Medium
This Round was DS and Algo round and it started with formal introduction, followed by 2 problems.There were 2 interviewers. We first dicussed the approach the time complexity and proper code covering all cases.
Determine if a permutation of a given string S
can form a palindrome.
string S = "aab"
"True"
The permutation "aba" o...
Check if a permutation of a string can form a palindrome.
Create a frequency map of characters in the string.
Count the number of characters with odd frequencies.
If there is at most one character with odd frequency, return true.
Otherwise, return false.
Determine if a given word 'W' is present in the sentence 'S' as a complete word. The word should not merely be a substring of another word.
The first line contains an in...
Check if a given word is present in a sentence as a complete word.
Split the sentence into words using spaces as delimiter.
Check if the given word matches any of the words in the sentence.
Ensure that the word is not just a substring of another word in the sentence.
Round duration - 30 mintues
Round difficulty - Easy
This is a cultural fitment testing round .HR was very frank and asked standard questions. Then we discussed about my role.
Tip 1 : Have atleast one internship/project in your domain...Will help you to gain exposure
Tip 2 : Do good practice of advanced data structures like Tries,graphs etc.
Tip 3 : Be good in your communication
Tip 1 : Keep your resume up to date and mention three or four good level projects which will give a good impression to the interviewer
Tip 2 : You should be well aware and knowledgeable about all the things that are mentioned in your resume.
I was interviewed before Sep 2020.
Round duration - 60 minutes
Round difficulty - Medium
The platform was HackerEarth time duration was 1 hour.
1.) 25 MCQs (Both Easy and Gate Level Based)
2.) 1 Coding Question, that needs to be solved in O(logn) time. Program for Fibonacci numbers. The basic idea behind that question is we need to crack the pattern and then based on constraints we need to solve it.
Given an integer 'N', the task is to compute the N'th Fibonacci number using matrix exponentiation. Implement and return the Fibonacci value for the provided 'N'.
Use matrix exponentiation to efficiently compute the Nth Fibonacci number modulo 10^9 + 7.
Implement matrix exponentiation to calculate Fibonacci numbers efficiently.
Use the formula F(n) = F(n-1) + F(n-2) with initial values F(1) = F(2) = 1.
Return the result modulo 10^9 + 7 to handle large Fibonacci numbers.
Optimize the solution to achieve better than O(N) time complexity.
Round duration - 40 minutes
Round difficulty - Medium
It was a technical round. The platform was Zoom time duration was 40 mins. Started with Tell me something about yourself.
Determine whether two given strings, A
and B
, both of length N
, are similar by returning a 1 if they are, otherwise return a 0.
String A
is similar to stri...
Determine if two strings are similar based on given conditions.
Check if the strings are equal first.
Then check if the strings can be divided into two halves with similar patterns.
Return 1 if the strings are similar, 0 otherwise.
Round duration - 45 Minutes
Round difficulty - Medium
The platform was Zoom time duration was 1 hour 45 mins. Started with Tell me something about yourself. I told them, that I like solving algorithms, so she was like let’s start with trees then.
Round duration - 30 minutes
Round difficulty - Medium
This was a Hiring Manager Round. The platform was Zoom time duration was 30 mins. Started with Tell me something about yourself.
Round duration - 20 minutes
Round difficulty - Easy
The platform was Zoom time duration was 20 mins. Asked me to give my introduction.
Tip 1 : Don't stick to a single topic too much. Cover all and prepare short notes for all the topics so it will be easier for revision.
Tip 2 : Do projects so that they will be an added weightage.
Tip 3 : Practice a minimum of 100 questions on that particular topic so that it will be easy to crack within no time.
Tip 1 : Projects add good weight to the resume. So the interviewer asks the questions based on that.
Tip 2 : Resume should be genuine. You have to be confident of whatever is written in your resume
I was interviewed before Apr 2022.
System design on the frontned application
I was interviewed before Dec 2020.
Round duration - 90 minutes
Round difficulty - Medium
This was a proctured online coding round where we had 2 questions to solve under 90 minutes . The questions were of easy to medium level I would say with some lenghty implementations .
Given an array 'ARR'
consisting of N
integers, along with two integers, 'SUM'
and 'MAXVAL'
, you need to determine the minimum number of integers to be added to t...
Determine the minimum number of integers to be added to an array to make its sum equal to a given value.
Iterate through the array and calculate the current sum.
Determine the difference between the target sum and the current sum.
Add the minimum number of integers within the range of -MAXVAL to MAXVAL to reach the target sum.
Given an array of integers NUMS
consisting of N
integers and an integer K
, determine the maximum sum of an increasing subsequence with exactly K
elements.
Find the maximum sum of an increasing subsequence with exactly K elements in an array of integers.
Iterate through the array and maintain a dynamic programming table to store the maximum sum of increasing subsequences ending at each index.
For each element, check all previous elements to find the increasing subsequence with maximum sum ending at that element.
Update the dynamic programming table with the maximum sum found...
Round duration - 50 Minutes
Round difficulty - Medium
Standard Data Structures and Algorithms round . One has to be fairly comfortable in solving algorithmic problems to
pass this round with ease.
You have been given a binary tree and your task is to determine if it is a Complete Binary Tree or not.
A Complete Binary Tree is defined as a binary tree where ever...
Check if a binary tree is a Complete Binary Tree or not based on given criteria.
Traverse the binary tree level by level and check if all levels are completely filled except the last one.
Ensure all nodes at the last level are positioned at the leftmost side.
Use level order traversal to check for completeness of the binary tree.
Example: For input 1 2 3 4 -1 5 6 -1 7 -1 -1 -1 -1 -1 -1, the output should be 1.
Given an array arr
of N
non-negative integers, determine whether the array consists of consecutive numbers. Return true if they do, and false otherwise.
The first line of inp...
Check if an array of integers consists of consecutive numbers.
Iterate through the array and check if the absolute difference between consecutive elements is 1.
Sort the array and check if the elements are consecutive.
Use a set to store the elements and check if the size of the set is equal to the length of the array.
Round duration - 40 Minutes
Round difficulty - Medium
This round majorly focused on my projects and some standard questions revolving around Operating Systems and DBMS.
Use multiple threads to print numbers from 1 to 100 in an optimized approach.
Divide the range of numbers (1-100) among the threads to avoid duplication.
Use synchronization mechanisms like mutex or semaphore to ensure proper order of printing.
Consider using a shared data structure like a queue to coordinate the threads.
Implement a mechanism to signal the threads when to start and stop printing.
Views in a database management system provide data security, simplify complex queries, and improve performance.
Enhanced security by restricting access to certain columns or rows
Simplify complex queries by pre-defining joins and filters
Reduce redundancy by storing commonly used queries as views
Improve performance by storing pre-processed data in views
Allow for data abstraction, making it easier to work with complex data
Round duration - 30 Minutes
Round difficulty - Easy
This is a cultural fitment testing round .HR was very frank and asked standard questions. Then we discussed about my role.
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
Top trending discussions
The duration of Walmart Software Developer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 16 interviews
4 Interview rounds
based on 34 reviews
Rating in categories
Software Engineer III
1.8k
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
1.3k
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Engineer
801
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Development Engineer 3
260
salaries
| ₹0 L/yr - ₹0 L/yr |
Business Development Associate
243
salaries
| ₹0 L/yr - ₹0 L/yr |
Amazon
Flipkart
Microsoft Corporation