Filter interviews by
I applied via LinkedIn and was interviewed in Apr 2023. There were 4 interview rounds.
I was interviewed in Jun 2021.
Round duration - 60 Minutes
Round difficulty - Medium
Explain Higher Order Functions in javascript.
What is the difference between tag and tag?
Given an array of strings ARRSTR[]
of size N
, and a character C
, your task is to sort the ARRSTR[]
array according to a new alphabetical order that starts with the ...
Approach: The idea here is to use a data structure HashMap to store each character’s order in the new alphabetical order, starting with a letter c (given in the problem). Now, start comparing the strings in the ‘ARRSTR[]’ using HashMap that has been created to define the order.
Suppose that we are comparing two strings of ‘ARRSTR[]’ named ‘X’ and ‘Y’. Let us assume that we have found the first diff...
Round duration - 60 minutes
Round difficulty - Medium
List the different types of relationships in SQL.
What is an Alias in SQL?
You are given two arrays, 'ARR' of size 'N' and 'BRR' of size 'M'. Your task is to sort the elements of 'ARR' such that their relative order matches that in 'BRR'. Any e...
O(N), wh...
Round duration - 60 Minutes
Round difficulty - Easy
You are provided with a string STR
representing a column title in an Excel Sheet. Your task is to determine the corresponding column number.
A typica...
Round duration - 60 Minutes
Round difficulty - Easy
Tip 1 : Polite
Tip 2 : Truth
Tip 3 : Simple
Tip 1 : Consistent
Tip 2 : Keep practicing
Tip 3 : Keep on giving interview
Tip 1 : Mention All Skills
Tip 2 : One page resume enough
I applied via Campus Placement
2 coding questions and a few MCQs
Garbage collector in Python is a built-in feature that automatically manages memory by reclaiming unused memory space.
Garbage collector in Python helps in automatically deallocating memory of objects that are no longer in use.
It prevents memory leaks by freeing up memory that is no longer needed.
Python's garbage collector uses reference counting and a cycle-detecting algorithm to manage memory efficiently.
posted on 1 Apr 2024
Spring Boot is a framework that simplifies the development of Java applications by providing pre-configured settings and tools.
Spring Boot eliminates the need for manual configuration by providing defaults for most settings.
It allows for standalone Spring applications that can be started using a simple 'java -jar' command.
Spring Boot includes embedded servers like Tomcat, Jetty, or Undertow for deploying applications.
I...
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
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.
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
based on 1 interview
Interview experience
Senior Engineer
257
salaries
| ₹16.6 L/yr - ₹45.2 L/yr |
Software Engineer
176
salaries
| ₹10 L/yr - ₹28.3 L/yr |
Senior Software Engineer
163
salaries
| ₹16.5 L/yr - ₹48 L/yr |
Lead Engineer
130
salaries
| ₹24.3 L/yr - ₹82 L/yr |
Lead Specialist
118
salaries
| ₹3.2 L/yr - ₹8.3 L/yr |
Walmart
Amazon
Flipkart
Reliance Retail