Filter interviews by
Use recursion to print n natural numbers in C++ without semicolon.
Define a function to print natural numbers recursively.
Call the function inside main function with n as argument.
Base case: if n is less than 1, return.
Print n and call the function with n-1 as argument.
Top trending discussions
I applied via LinkedIn and was interviewed before Mar 2023. There were 3 interview rounds.
Usually they judge on basis of your behaviour and attitude.
I applied via Company Website and was interviewed in Mar 2021. There were 4 interview rounds.
Hash map is a data structure that stores key-value pairs and uses a hash function to map keys to indices in an array.
Hash function is used to convert the key into an index in the array
Collisions occur when two keys map to the same index, which can be resolved using separate chaining or open addressing
Load factor is the ratio of number of elements to the size of the array, and affects the performance of hash map
Operatio...
SQL query to get 2nd highest salary
Use ORDER BY and LIMIT to get the highest salary
Use subquery to exclude the highest salary and get the 2nd highest
Example: SELECT salary FROM employees ORDER BY salary DESC LIMIT 1,1
Two DSA ques were asked. One easy and one medium.
HashSet is a collection that stores unique elements using a hash table.
Uses hashing to store elements
Does not allow duplicate elements
Provides constant-time performance for basic operations like add, remove, contains
I resolve conflicts by actively listening, understanding all perspectives, finding common ground, and proposing solutions.
Actively listen to all parties involved
Understand each perspective and the underlying reasons for conflict
Find common ground and areas of agreement
Propose solutions that address the concerns of all parties
I applied via Recruitment Consulltant and was interviewed before Oct 2021. There were 4 interview rounds.
Virtual DOM is a lightweight copy of the real DOM, used for efficient updates.
Real DOM updates are slow and expensive, while virtual DOM updates are fast and efficient.
Virtual DOM is used in React to update the UI without reloading the entire page.
Real DOM is the actual HTML document, while virtual DOM is a JavaScript object.
Virtual DOM compares the previous and current states of the UI to determine the minimum number ...
var is function scoped, let and const are block scoped. var can be redeclared and reassigned, let can be reassigned but not redeclared, const cannot be reassigned or redeclared.
var is hoisted to the top of the function, let and const are not
var can be redeclared within the same scope, let and const cannot
let and const have a temporal dead zone where they cannot be accessed before they are declared
const cannot be reassi...
Optimization techniques in React include code splitting, lazy loading, and memoization.
Code splitting: breaking down the code into smaller chunks to reduce load time.
Lazy loading: loading components only when they are needed, reducing initial load time.
Memoization: caching the results of expensive function calls to improve performance.
Using shouldComponentUpdate to prevent unnecessary re-renders.
Using React.PureCompone...
I have experience working with Agile methodology in my previous projects.
I have worked in Scrum and Kanban frameworks.
I have experience in conducting daily stand-up meetings, sprint planning, and retrospectives.
I have worked in cross-functional teams and have experience in collaborating with product owners and stakeholders.
I have used tools like Jira and Trello to manage tasks and track progress.
In one of my previous p...
I applied via Recruitment Consulltant and was interviewed in Feb 2024. There were 2 interview rounds.
Immutable class, remove duplicates from string using Java 8
Create an immutable class to represent the string
Use Java 8 streams to remove duplicates from the string
Convert the string to a character array, use distinct() and collect() to remove duplicates
Sealed classes in Java restrict inheritance to a predefined set of subclasses.
Sealed classes were introduced in Java 15 to restrict inheritance to a predefined set of subclasses.
Subclasses of a sealed class must be declared in the same file as the sealed class.
Sealed classes are declared using the 'sealed' modifier before the 'class' keyword.
Example: sealed class Shape permits Circle, Square, Triangle;
Fallout mechanism between microservices refers to how failures in one microservice can impact other microservices.
Fallout can occur due to cascading failures when one microservice depends on another.
Implementing circuit breakers can help prevent fallout by isolating failures.
Monitoring and alerting systems are crucial for detecting and responding to fallout.
Using asynchronous communication can reduce the impact of fall...
Adding elements dynamically to an array in code
Use push() method to add elements to an array in JavaScript
In Python, use append() method to add elements to a list
In Java, use ArrayList and add() method to dynamically add elements
Hoisting is a JavaScript mechanism where variable and function declarations are moved to the top of their containing scope.
Variable and function declarations are hoisted to the top of their scope during the compilation phase.
Only the declarations are hoisted, not the initializations.
Function declarations take precedence over variable declarations when hoisted.
Expected CTC should be based on industry standards, experience, skills, and location.
Research industry standards for Software Engineer salaries
Consider your experience level and skills when determining expected CTC
Take into account the cost of living in the location of the job
Negotiate based on the job responsibilities and market demand
Some of the top questions asked at the Walmart Software Engineer interview for freshers -
The duration of Walmart Software Engineer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 1 interview
Interview experience
based on 69 reviews
Rating in categories
Software Engineer III
1.9k
salaries
| ₹14.5 L/yr - ₹47 L/yr |
Senior Software Engineer
1.4k
salaries
| ₹19 L/yr - ₹70 L/yr |
Software Engineer
800
salaries
| ₹10.2 L/yr - ₹43 L/yr |
Software Development Engineer 3
307
salaries
| ₹15.6 L/yr - ₹46 L/yr |
Software Developer
298
salaries
| ₹12 L/yr - ₹46 L/yr |
Amazon
Reliance Retail
DMart
Future Group