Filter interviews by
Top trending discussions
I applied via Referral and was interviewed in Sep 2024. There were 2 interview rounds.
Use dynamic programming to find the longest palindromic substring in a given string.
Iterate through the string and expand around each character to find palindromes.
Store the length of the longest palindrome found so far.
Return the substring based on the start and end indices of the longest palindrome.
To serialize and deserialize a tree, use a recursive approach to traverse the tree and store the data in a suitable format.
Use pre-order traversal to serialize the tree by storing the node values in a list or string.
For deserialization, reconstruct the tree by recursively building nodes from the serialized data.
Consider using JSON or XML format for serialization to easily store and retrieve tree structure.
Use regex library to match given regex with string.
Use a regex library like re in Python to match the given regex with the string.
Check if the regex matches the string using the library functions.
Handle cases where the regex contains special characters like . and * appropriately.
Throttling is a technique used to control the rate of requests sent to a server.
Throttling helps prevent server overload by limiting the number of requests processed at a time.
Implementing a throttle function involves setting a maximum request rate and delaying excess requests.
Example: Implementing a throttle function in a web application to limit the number of API calls made to a third-party service.
Example: Throttlin...
Sort the squares of elements in a sorted array and return the sorted response.
Iterate through the array and square each element.
Store the squared values in a new array.
Sort the new array and return it.
A promise is a commitment to do something in the future, typically used for asynchronous operations in JavaScript.
Promises are used to handle asynchronous operations in JavaScript.
They represent a value that may be available now, in the future, or never.
Promises have three states: pending, fulfilled, or rejected.
Example: new Promise((resolve, reject) => { setTimeout(() => resolve('Done!'), 1000); });
Event loop is a mechanism that allows for asynchronous execution of code by managing the order of events in a single thread.
Event loop continuously checks the call stack for any functions that need to be executed, and processes them in a non-blocking manner.
Different types of queues in event loop include microtask queue (Promise callbacks), macrotask queue (setTimeout, setInterval callbacks), and animation frame queue
Virtual DOM is a lightweight copy of the actual DOM, used to improve performance by minimizing direct manipulation of the real DOM.
Virtual DOM is a concept used in frameworks like React to optimize rendering performance.
Changes are first made to the virtual DOM, which is then compared to the real DOM to identify the minimal updates needed.
This approach reduces the number of actual DOM manipulations, resulting in faster...
I applied via Referral and was interviewed in Oct 2024. There was 1 interview round.
Return the index of the vector with the longest length palindrome
Iterate through each string in the vector
Check if the string is a palindrome
Track the index of the longest palindrome string
posted on 12 Dec 2024
I was interviewed in Nov 2024.
It was codility test with 2 questions
Data structure related question
To find the second highest integer in an array, sort the array in descending order and return the second element.
Sort the array in descending order
Return the second element in the sorted array
Handle edge cases like duplicates or small arrays
posted on 8 Jan 2025
I applied via Referral and was interviewed in Dec 2024. There was 1 interview round.
I applied via Campus Placement and was interviewed in Oct 2024. There were 3 interview rounds.
It included aptitude, technical and coding questions
Remote work preferred, open to occasional travel
Remote work preferred
Open to occasional travel
Flexible with location
posted on 9 Oct 2024
based on 1 review
Rating in categories
Senior Software Engineer
6.4k
salaries
| ₹6.4 L/yr - ₹19.9 L/yr |
Senior Engineer
2.7k
salaries
| ₹6.5 L/yr - ₹21 L/yr |
Software Engineer
2.7k
salaries
| ₹4.1 L/yr - ₹15 L/yr |
Associate Software Engineer
1.8k
salaries
| ₹3 L/yr - ₹9.1 L/yr |
Specialist
1.5k
salaries
| ₹9.8 L/yr - ₹31.8 L/yr |
Mercedes-Benz Research and Development India
Capgemini
Accenture
TCS