Filter interviews by
I applied via Campus Placement and was interviewed before Oct 2023. There were 3 interview rounds.
Basic aptitude questions
One graph and one DP question
Use a hashmap to find the repeating element in the array of strings
Iterate through the array and store each element in a hashmap with its frequency
Check for any element with frequency greater than 1, that is the repeating element
Encapsulation, Inheritance, Polymorphism, Abstraction
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Inheritance: Ability of a class to inherit properties and behavior from another class.
Polymorphism: Ability to present the same interface for different data types.
Abstraction: Hiding the complex implementation details and showing only the necessary features.
I appeared for an interview in Dec 2021.
Round duration - 90 Minutes
Round difficulty - Medium
Rahul, who is passionate about programming, is learning about arrays and lists. He faces a challenging problem to determine the smallest subarray length in a given arr...
The problem is to find the length of the smallest subarray in a given array with its sum greater than a given value.
Iterate through the array and keep track of the current subarray sum
If the current sum becomes greater than the given value, update the minimum subarray length
If the current sum becomes negative, reset the sum and start a new subarray
Return the minimum subarray length
Given an array of 'N' non-negative integers and an integer 'K', your task is to find the maximum elements for each subarray of size 'K'.
The first line contains...
The task is to find the maximum elements for each subarray of size K in a given array.
Iterate through the array and maintain a deque of indices of the maximum elements in the current window of size K.
For each new element, remove indices from the deque that are outside the current window.
Add the index of the new element to the deque, and print the maximum element of the window if the first index in the deque is outside ...
Round duration - 20 Minutes
Round difficulty - Medium
This round was mostly resume-based. The interviewer asked about my projects and asked technical questions related to them. He then asked 1 DS question which was to detect whether the linked list is a circular linked list or not. He also asked me for a puzzle in the end.
You are provided with the head of a linked list containing integers. Your task is to determine if the linked list is circular.
The task is to determine whether a given linked list is circular or not.
A linked list is circular if the next pointer of the last node points to the first node.
An empty linked list is also considered circular.
Check if any node has its next pointer equal to NULL.
All the integers in the linked list are unique.
The next pointer of a node with i'th integer is linked to the node with data (i+1)'th integer.
Round duration - 10 Minutes
Round difficulty - Easy
Tip 1 : Practice DS & ALGO questions without any day off to help improve your problem solving.
Tip 2 : Get your CS fundamentals strong.
Tip 1 : Have some projects on resume.
Tip 2 : You should not fake things on your resume.
Top trending discussions
I applied via Walk-in and was interviewed in Oct 2024. There were 2 interview rounds.
Round one was an online coding test where there were 5 sections :
1 - dsa - medium
2 - Java - Easy
3 - OOP - Easy
4 - Git - Easy
Bean annotation is used in Spring Boot on class or method to indicate that a method produces a bean to be managed by the Spring container.
Bean annotation is used on methods within a class to indicate that the method produces a bean to be managed by the Spring container.
It can also be used at the class level to indicate that the class itself is a Spring bean.
For example, @Bean annotation can be used on a method that cre...
Protected access modifier restricts interface method access to only derived or implemented classes.
Use 'protected' access modifier to restrict access to only derived or implemented classes
Protected members are accessible within the same package or by subclasses
Example: 'protected void methodName() {}' in an interface
Microservices interact with each other through APIs, messaging, or events.
Microservices communicate with each other through APIs, which can be synchronous or asynchronous.
Messaging systems like RabbitMQ or Kafka can be used for communication between microservices.
Events can be used for loosely coupled communication between microservices.
Service discovery mechanisms like Eureka or Consul help microservices locate and co...
To detect the best day to buy and sell stock in an integer array representing stock prices and days in O(N).
Iterate through the array and keep track of the minimum price seen so far.
Calculate the profit by subtracting the current price from the minimum price.
Update the maximum profit and best buy/sell days accordingly.
Return the best buy and sell days to maximize profit.
Find the next greatest number for each integer in an array in O(N) time complexity.
Iterate through the array from right to left
Use a stack to keep track of potential next greatest numbers
Pop elements from the stack that are less than the current element and update their next greatest number to the current element
Push the current element onto the stack
Repeat until all elements have a next greatest number
I applied via Referral and was interviewed in Aug 2021. There was 1 interview round.
Find k min elements in given array.
Sort the array and return the first k elements.
Use a min heap of size k to find the k min elements.
Use quickselect algorithm to find the kth smallest element and return first k elements smaller than it.
Check if a given tree is a Binary Search Tree (BST) or not.
Traverse the tree in-order and check if the elements are in ascending order.
Check if the maximum value in the left subtree is less than the root and the minimum value in the right subtree is greater than the root.
Use recursion to check if all subtrees are BSTs.
Time complexity: O(n), Space complexity: O(h) where h is the height of the tree.
Given a BST and a sum, find a pair of nodes whose values add up to the given sum.
Traverse the BST in-order and store the nodes in a list
Use two pointers approach to find the pair with the given sum
If the sum is less than the current pair, move the right pointer to the left
If the sum is greater than the current pair, move the left pointer to the right
If the sum is equal to the current pair, return the pair
Time complexit...
1st round was DSA round. Pretty easy
First round was aptitude with coding round it was easy
1 coding question, and basic MCQ
I applied via Company Website and was interviewed in May 2021. There were 5 interview rounds.
Two easy questions two wasy questions two easy questions two easy questions
Valid parentheses check ensures every opening bracket has a corresponding closing bracket in the correct order.
Use a stack to track opening parentheses. Example: '(()' -> push '(', push '(', pop ')' -> stack: ['(']
For each closing parenthesis, check if the stack is not empty and matches the last opened. Example: '()' -> valid.
An empty stack at the end indicates all parentheses were matched. Example: '(()())' -...
Currying is a technique in functional programming where a function with multiple arguments is transformed into a sequence of nested functions, each taking a single argument.
Currying can be achieved using arrow functions in JavaScript.
Arrow functions automatically bind 'this' and do not have their own 'this' value.
Example: const add = a => b => a + b;
Example: const addFive = add(5); const result = addFive(3); // result ...
based on 1 interview experience
Difficulty level
Duration
based on 3 reviews
Rating in categories
Research Analyst
393
salaries
| ₹1.6 L/yr - ₹6 L/yr |
Senior Research Analyst
210
salaries
| ₹2.7 L/yr - ₹8.5 L/yr |
Software Development Engineer
72
salaries
| ₹4.7 L/yr - ₹11 L/yr |
Business Analyst
62
salaries
| ₹2.8 L/yr - ₹11 L/yr |
Data Scientist
58
salaries
| ₹6 L/yr - ₹22 L/yr |
Markets and Markets
Ascent Business Solutions
LogixHealth
Coronis Health