Filter interviews by
I applied via Approached by Company and was interviewed in Jan 2024. There was 1 interview round.
The task is to parse a string of services and their associated numbers, counting occurrences and formatting the output.
Split the input string by ';' to separate each service entry.
Use a HashMap to count occurrences of each service name.
Store the numbers associated with each service in a List or another HashMap.
Iterate through the HashMap to format the output as required.
Static keyword is used in Java to create class-level variables and methods. Dependency injection is a design pattern used to inject dependencies into a class. @Autowired is a Spring annotation used for automatic dependency injection.
Static keyword is used to create variables and methods that belong to the class itself, rather than to instances of the class.
Dependency injection is a design pattern where the dependencies...
Top trending discussions
posted on 16 Sep 2021
I appeared for an interview in Oct 2020.
Round duration - 75 min
Round difficulty - Medium
This round was MCQ and coding round. 25 MCQs and one coding question were asked. MCQs were based on OS, DBMS, Aptitude and Data Structures.
You have 'N' tasks to complete. Each task can only be done on one of two specific days provided in two arrays: day1
and day2
.
For each task i, day1[i]
represents the earliest...
Find the minimum number of days required to complete all tasks given specific completion days for each task.
Sort the tasks based on day1 in ascending order.
For each task, choose the minimum of day1 and day2 as the completion day.
Keep track of the maximum completion day for each task.
The final answer is the maximum completion day of all tasks.
Round duration - 30 min
Round difficulty - Easy
This was a Data Structural round. Only one coding question was asked by the interviewer. The interviewer was very friendly. This round was very easy.
Sort the given unsorted array consisting of N non-negative integers in non-decreasing order using the Bubble Sort algorithm.
The first line contains an integer 'T' r...
Bubble Sort algorithm is used to sort an array of non-negative integers in non-decreasing order.
Implement the Bubble Sort algorithm to sort the array in place.
Compare adjacent elements and swap them if they are in the wrong order.
Repeat this process until the array is sorted.
Time complexity of Bubble Sort is O(n^2) in the worst case.
Example: For input [6, 2, 8, 4, 10], the output should be [2, 4, 6, 8, 10].
Tip 1 : Be confident!
Tip 2 : Maintain high Cgpa
Tip 3 : Do your best
Tip 1 : Mention clear points
Tip 2 : Atleast 3 projects and never put anything you have not revised
posted on 16 Sep 2021
I appeared for an interview before Sep 2020.
Round duration - 75 minutes
Round difficulty - Medium
It was in the evening.
It consisted of 26 questions of easy to hard level.
It consisted of 25 MCQs and only 1 coding problem.
Given a structured list of books and their authors, format the information as specified.
The first line of input contains an integer ‘T' representing the number of tes...
The task is to format a list of authors and their books in a specific way as per the given input format.
Parse the input to extract the number of test cases, number of authors, author names, and their respective books.
Format the output by printing the author names and their books in the specified format.
Ensure correct sequence and labeling of authors and books as per the example provided.
Handle multiple test cases and a...
Round duration - 15 minutes
Round difficulty - Medium
It was more of CV based round. A brief discussion on projects was there followed by some questions like why optum.
You are provided with a linked list of integers. Your task is to implement a function that deletes a node located at a specified position 'POS'.
The first line co...
Implement a function to delete a node from a linked list at a specified position.
Traverse the linked list to find the node at the specified position.
Update the pointers of the previous and next nodes to skip the node to be deleted.
Handle edge cases such as deleting the head or tail of the linked list.
Ensure to free the memory of the deleted node to avoid memory leaks.
Round duration - 15 minutes
Round difficulty - Easy
A short round where some basic dbms questions like procedure, cursor were asked. Then some questions on whether I would prefer working alone or in a team. Where I see myself in 5 years.
You are given a graph with 'N' vertices numbered from '1' to 'N' and 'M' edges. Your task is to color this graph using two colors, such as blue and red, in a way that no two adjacen...
Given a graph with 'N' vertices and 'M' edges, determine if it can be colored using two colors without adjacent vertices sharing the same color.
Use graph coloring algorithm like BFS or DFS to check if the graph can be colored with two colors without conflicts.
Check if any adjacent vertices have the same color. If so, it is not possible to color the graph as described.
If the graph has connected components, color each co...
Tip 1 : Projects do not matter much for this company.
Tip 2 : I did almost all the puzzles from Interviewbit.
Tip 3 : DBMS is really important. Practice queries in SQL thoroughly. You should know the use of limit and top also. It may be asked to write the same query in more than 1 form.
Tip 4 : Practice all the data structures. Questions were simple and you should know the basics of every data structure.
Tip 1 : Don't write anything just for the sake of it.
Tip 2 : If you are writing some project then be thorough with all the details. If you are not much confident, then simply remove it and focus on other subjects.
posted on 12 Jun 2021
I applied via Naukri.com and was interviewed in Aug 2020. There were 5 interview rounds.
Interfaces define a contract for classes to implement certain methods and properties.
Interfaces allow for polymorphism and loose coupling.
Classes can implement multiple interfaces.
Interfaces cannot be instantiated on their own.
Interfaces can have default method implementations.
Interfaces can be used to enforce design patterns like the adapter pattern.
I appeared for an interview before May 2021.
Round duration - 90 Minutes
Round difficulty - Easy
This round was also conducted on Metll platform. This round is totally based on coding. There are so many choices in language, so you can easily select the language in which you are comfortable in. There are three problems to solve. I choose Java 8 to solve the problems. The problems are ranging from easy to hard-
To find the maximum occurring character in a given string.
To find the factorial of a given number.
Count Derangements.
Determine the number of derangements possible for a set of 'N' elements. A derangement is a permutation where no element appears in its original position.
An integer 'T' repres...
Count the number of derangements possible for a set of 'N' elements.
Derangements are permutations where no element appears in its original position.
Use the formula: !n = n! * (1 - 1/1! + 1/2! - 1/3! + ... + (-1)^n/n!).
Calculate the derangements modulo (10^9 + 7) for each test case.
Develop a program to compute the factorial of a given integer 'n'.
The factorial of a non-negative integer 'n', denoted as n!
, is the product of all positive integ...
Program to compute factorial of a given integer 'n', with error handling for negative values.
Create a function to calculate factorial using a loop or recursion
Check if input is negative, return 'Error' if true
Handle edge cases like 0 and 1 separately
Use long data type to handle large factorials
You are given two strings 'A' and 'B' composed of words separated by spaces. Your task is to determine the most frequent and lexicographically smallest word in string ...
Find the most frequent and lexicographically smallest word in string 'A' that is not present in string 'B'.
Split strings 'A' and 'B' into words
Count frequency of each word in 'A'
Check if word is not in 'B' and is the most frequent and lexicographically smallest
Return the word or -1 if no such word exists
Round duration - 90 Minutes
Round difficulty - Easy
The interviewer was so polite. He firstly asks me to describe myself and then ask about my family. After that he ask which language I choose to solve problems in Coding round and why I choose that language. Then he started to ask the technical questions.
Tip 1 : Practice questions on leetcode
Tip 2 : Understand the best solutions in depth and algorithm used
Tip 3 : Ask clarifying questions to the interviewer and break the problem to smaller sub parts
Tip 1 : Highlight your most impactful work on the resume
Tip 2 : Keep it easy to understand
I want to join Teleperformance for its commitment to excellence, diverse opportunities, and a supportive work environment.
Teleperformance is a global leader in customer experience management, which aligns with my career goals.
The company's emphasis on employee development and training programs is appealing, as I value continuous learning.
I admire Teleperformance's commitment to diversity and inclusion, fostering a work...
Inter-process communication (IPC) and mutexes are essential for managing concurrent processes in Linux systems.
IPC allows processes to communicate and synchronize their actions. Common IPC methods include pipes, message queues, and shared memory.
Mutex (mutual exclusion) is a synchronization primitive that prevents multiple threads from accessing shared resources simultaneously.
Example of IPC: Using a named pipe (FIFO) ...
Implementing a linked list stack in C involves defining a node structure and stack operations like push, pop, and peek.
Define a struct for the node: `struct Node { int data; struct Node* next; };`
Create a stack structure that holds a pointer to the top node: `struct Stack { struct Node* top; };`
Implement push operation: Allocate a new node, set its data, and adjust the top pointer.
Implement pop operation: Check if the ...
I applied via Naukri.com and was interviewed before Sep 2019. There were 6 interview rounds.
I appeared for an interview in Sep 2016.
based on 1 interview experience
Difficulty level
Duration
Senior Software Engineer
113
salaries
| ₹17.2 L/yr - ₹29.9 L/yr |
Principal Software Engineer
52
salaries
| ₹26 L/yr - ₹43.3 L/yr |
Software Engineer2
52
salaries
| ₹11.6 L/yr - ₹19.7 L/yr |
Software Engineer
51
salaries
| ₹9 L/yr - ₹14 L/yr |
Software Developer
22
salaries
| ₹12.2 L/yr - ₹20.6 L/yr |
Teleperformance
Optum Global Solutions
FIS
Nagarro