i
GlobalLogic
Filter interviews by
I appeared for an interview before Nov 2023.
posted on 2 Jun 2022
I appeared for an interview before Jun 2021.
Had DSA and aptitude questions
What people are saying about GlobalLogic
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
Reversing a linked list involves changing the direction of its nodes to point to the previous node instead of the next.
1. Initialize three pointers: previous (prev), current (curr), and next.
2. Traverse the list: while curr is not null, set next to curr.next.
3. Reverse the link: curr.next = prev.
4. Move prev and curr one step forward: prev = curr; curr = next.
5. Repeat until curr is null; prev will be the new head of t...
Invert a binary tree by swapping left and right children recursively.
Use a recursive approach to swap left and right children.
Base case: If the node is null, return.
Example: For a tree with root 1, left 2, right 3, after inversion, left becomes 3, right becomes 2.
Iterative approach can also be used with a queue or stack.
I appeared for an interview in Oct 2020.
Round duration - 90 minutes
Round difficulty - Medium
Test was active from 28th September 8 PM till 2 AM (29th September’20). We could attempt at any time.
1.5 Hr Duration
Two coding questions.
You are provided with an undirected graph containing 'N' vertices and 'M' edges. The vertices are numbered from 1 to 'N'. Your objective is to determi...
Detect cycles in an undirected graph.
Use Depth First Search (DFS) to detect cycles in the graph.
Maintain a visited array to keep track of visited vertices.
If a visited vertex is encountered again during DFS, a cycle exists.
Check for cycles in each connected component of the graph.
Consider edge cases like disconnected graphs and self-loops.
You are provided with a 2-dimensional matrix having N
rows and M
columns, containing only 1s (land) and 0s (water). Your goal is to determine the number of islands in t...
Count the number of islands in a 2D matrix of 1s and 0s.
Use depth-first search (DFS) to traverse the matrix and identify connected groups of 1s.
Maintain a visited array to keep track of visited cells to avoid redundant traversal.
Increment the island count each time a new island is encountered.
Consider all eight possible directions for connectivity while traversing the matrix.
Handle edge cases such as out-of-bounds indi...
Round duration - 60 minutes
Round difficulty - Medium
Online video call round on Microsoft Teams
Interviewer was very friendly.
This round is often called Domain Discussion Round.
Given a string str
consisting of lowercase English alphabet letters, and an integer K
, you are allowed to perform at most K
operations on this string. An oper...
Find the length of the longest substring consisting of repeating characters after performing K operations.
Iterate through the string and maintain a sliding window of characters.
Keep track of the frequency of characters in the window.
Update the window by changing characters to maximize the length of repeating substring.
Return the length of the longest repeating substring obtained.
Round duration - 60 minutes
Round difficulty - Medium
One hour HR round.
Also called Core Values Interview.
The Interviewer was a senior level employee and was very friendly.
Tip 1 : Interview is more like a two-way discussion rather than a question-answer session, feel free to ask for help/hints if you're stuck.
Tip 2 : Even if you don't know the solution to the problem just try to work out a naive solution. You can optimize it later.
Tip 3 : Make sure to read out the interview experiences of other people who have applied for the same role/company in the past
Tip 1: Keep it concise and to the point.
Tip 2: Don't forget to show your best achievements
I applied via Campus Placement and was interviewed in Dec 2020. There were 5 interview rounds.
Program to print a pattern and implement bubble sort on an array of strings.
For pattern printing, use nested loops to print the desired pattern.
For bubble sort, compare adjacent elements and swap if necessary.
Use a loop to iterate through the array until no more swaps are needed.
based on 4 interview experiences
Difficulty level
Associate Analyst
4.4k
salaries
| ₹1.7 L/yr - ₹4 L/yr |
Senior Software Engineer
3.6k
salaries
| ₹4.7 L/yr - ₹28.8 L/yr |
Analyst
3.2k
salaries
| ₹1.8 L/yr - ₹4 L/yr |
Software Engineer
3.2k
salaries
| ₹5 L/yr - ₹12 L/yr |
Associate Consultant
3.1k
salaries
| ₹16.2 L/yr - ₹30 L/yr |
Genpact
DXC Technology
Sutherland Global Services
Optum Global Solutions