i
iServeU
Filter interviews by
I applied via Referral and was interviewed in Dec 2021. There were 2 interview rounds.
U will be asked some theoretical questions then u have to some coding.
Sort an array of objects by id without for loop
Use Array.sort() method with a compare function
Compare the id property of each object
Return -1, 0, or 1 based on comparison
Spread operator is used to spread the elements of an iterable object into a new array or object.
Spread operator is denoted by three dots (...)
It can be used with arrays, objects, and function arguments
It simplifies the code and makes it more readable
Example: const arr1 = [1, 2, 3]; const arr2 = [...arr1, 4, 5]; // [1, 2, 3, 4, 5]
Example: const obj1 = {a: 1, b: 2}; const obj2 = {...obj1, c: 3}; // {a: 1, b: 2, c: 3}
Top trending discussions
I applied via Company Website and was interviewed in Jan 2021. There were 5 interview rounds.
I appeared for an interview before Sep 2020.
Round duration - 90 mins
Round difficulty - Hard
There were questions related to DP and DFS.
You are given a long type array/list ARR
of size N
, representing an elevation map. The value ARR[i]
denotes the elevation of the ith
bar. Your task is to determine th...
Calculate the total amount of rainwater that can be trapped between given elevations in an array.
Iterate through the array and calculate the maximum height on the left and right of each bar.
Calculate the amount of water that can be trapped at each bar by taking the minimum of the maximum heights on the left and right.
Sum up the trapped water at each bar to get the total trapped water for the entire array.
Round duration - 60 mins
Round difficulty - Medium
At first, I was asked about the different projects that I have done so far. We had a detailed discussion on the same.
He also checked my OOP concepts
Designing an LRU Cache involves implementing a data structure that stores a fixed number of items and removes the least recently used item when full.
Start by defining the data structure for the cache, typically using a combination of a hashmap and a doubly linked list.
Implement methods for getting and setting key-value pairs in the cache.
When a new item is added to the cache, check if it exceeds the maximum capacity. I...
Given a Singly Linked List of integers, your task is to reverse the Linked List by altering the links between the nodes.
The first line of input is an intege...
Reverse a singly linked list by altering the links between nodes.
Iterate through the linked list and reverse the links between nodes
Use three pointers to keep track of the current, previous, and next nodes
Update the links between nodes to reverse the list
Return the head of the reversed linked list
You are given the head node of a singly linked list. Your task is to return a pointer pointing to the middle of the linked list.
If there is an odd number of elements, return the ...
Return the middle element of a singly linked list, or the one farther from the head if there are even elements.
Traverse the linked list with two pointers, one moving twice as fast as the other
When the fast pointer reaches the end, the slow pointer will be at the middle
If there are even elements, return the one that is farther from the head node
Handle edge cases like linked list of size 1 or empty list
Round duration - 60 mins
Round difficulty - Medium
It is HR + Technical round
asked about the Behavioural questions and how you justify yourself in an argument .questions related to current technology.
They gave me feedback on how well I had performed so far and gave me suggestions on what more can I do to further improve myself.
Tip 1 : Be thorough about your projects
Tip 2 : Prepare Ds and Algo and Practice all standard questions
Tip 3 : Know the complexities of the code that you’ve written.
Tip 1 : Mention at least 2 projects.
Tip 2 : Don't make any silly spelling mistakes on resume
String manipulation problems involve modifying or analyzing strings of characters.
Use built-in string methods like substring, replace, and split.
Regular expressions can be powerful tools for pattern matching and manipulation.
Be mindful of edge cases like empty strings and null values.
Consider the time and space complexity of your solution.
Practice with coding challenges on websites like LeetCode and HackerRank.
I applied via Company Website
Time ,speed ,distance
Java application using oops concept
I applied via Approached by company and was interviewed in Dec 2021. There were 4 interview rounds.
2 questions. 1 was basic level. 2 was of medium level.
Find first missing positive number in an array in O(n) time and O(1) space.
Traverse the array and mark the presence of each positive integer by changing the sign of the corresponding index.
Traverse the array again and return the index of the first positive integer.
If all integers are present, return the length of the array + 1.
Example: [3, 4, -1, 1] => mark 3rd and 4th index as negative => return 2.
Example: [1, 2, 0] =...
Given an integer, print the relevant column name in an excel sheet.
Create a string array of alphabets from A to Z
Use modulo operator to get remainder and divide by 26 to get quotient
Append the corresponding alphabet to the result string
Reverse the result string
I applied via Campus Placement and was interviewed before Feb 2023. There were 2 interview rounds.
Topics:-
Duration-1.5 hours
Kadane's Algorithm, Even Numbers at even index & odd at odd index, print out the second highest node of the tree
ZigZag tree traversal is a method to traverse a binary tree in a zigzag pattern.
In ZigZag tree traversal, we visit the nodes of a binary tree in a zigzag pattern, moving from left to right and then right to left.
We can use a stack or a queue to implement ZigZag tree traversal.
The algorithm involves maintaining two stacks or two queues to keep track of the nodes at each level.
We start with the root node and alternate be...
Software Engineer
87
salaries
| ₹3 L/yr - ₹8.1 L/yr |
Software Engineer Level 1
46
salaries
| ₹3.2 L/yr - ₹7.8 L/yr |
Software Engineer Trainee
36
salaries
| ₹2.2 L/yr - ₹6.6 L/yr |
Product Manager
33
salaries
| ₹3.8 L/yr - ₹14.1 L/yr |
Software Developer
24
salaries
| ₹3 L/yr - ₹9 L/yr |
HighRadius
AGS Transact Technologies
Rupeek
Hitachi Payment Services