Filter interviews by
Top trending discussions
I applied via Approached by Company and was interviewed in Oct 2024. There were 4 interview rounds.
2 DSA questions and some MCQ on Java and Spring
A palindromic substring is a string that reads the same forwards and backwards.
Use dynamic programming to find the longest palindromic substring.
Start by considering each character as the center of a potential palindrome.
Expand outwards from each center to check for palindromes of odd and even lengths.
Remove duplicates from a 1D array of strings in place
Iterate through the array and use a HashSet to keep track of unique elements
Replace duplicates with null or an empty string to remove them in place
Search for the minimum element in a rotated sorted array with duplicate elements.
Use binary search to find the minimum element in the rotated sorted array.
Handle the case where duplicate elements are present by adjusting the search conditions.
Consider cases where the array is not rotated or contains only one element.
A singleton class is a class that can only have one instance created throughout the application.
Declare a private static instance variable of the class
Create a private constructor to prevent external instantiation
Provide a public static method to access the instance
I applied via Campus Placement
2 coding questions and a few MCQs
Leetcode 3234 question
I want to join Walmart because of its reputation as a leading retail company with a strong focus on technology and innovation.
Opportunity to work on cutting-edge technology projects
Chance to contribute to a well-known and respected company
Desire to be part of a team that values innovation and growth
Sliding window problem involves finding a subarray of fixed size k with maximum sum.
Use a sliding window approach to iterate through the array and calculate the sum of each subarray of size k.
Keep track of the maximum sum encountered so far.
Move the window by one element at a time and update the sum accordingly.
Example: Given array [1, 3, -1, -3, 5, 3, 6, 7] and k = 3, the subarray with maximum sum is [5, 3, 6] with su
I applied via Campus Placement and was interviewed in Oct 2023. There were 2 interview rounds.
2 coding questions from dsa. one quest was from trees ds
String arrays are immutable because they cannot be changed once created.
Strings in an array cannot be modified individually
Any changes to a string array result in a new array being created
Immutable arrays ensure data integrity and prevent unintended side effects
To create a custom immutable class, use final keyword for class, private final fields, and no setter methods.
Use the final keyword for the class to prevent inheritance
Declare all fields as private and final to prevent modification
Do not provide setter methods for the fields to maintain immutability
Provide getter methods to access the fields
The test was quite simple but the interviewer was not ready to accept the solution. Even with complete dry run and working output he denied the solution giving a very vague reason.
I applied via Naukri.com and was interviewed in Aug 2024. There were 2 interview rounds.
30mins good easy 2 problems
Prepare dsa and focus on coind
based on 1 review
Rating in categories
Customer Service Representative
5
salaries
| ₹1.6 L/yr - ₹2 L/yr |
UI Developer
4
salaries
| ₹9 L/yr - ₹10 L/yr |
E Commerce Manager
3
salaries
| ₹2.4 L/yr - ₹3 L/yr |
Reliance Retail
DMart
Future Group
Reliance Digital