Globant interview experience Real time questions & tips from candidates to crack your interview

Software Engineer

Globant
upvote
share-icon
3 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Journey
My journey started when I was in class 11th and took computer science as a subject. Due to that, my interest in coding and development increased, and I decided to pursue computer science for my graduation. After joining the college, I started participating in hackathons and various coding competitions.
Application story
I got a referral from my friend and got the opportunity to get an Interview for the Software Engineer role.
Why selected/rejected for the role?
I was selected because I passed all test cases in the coding round. I was also fluent in communication skills, that added to my numbers.
Preparation
Duration: Duration: 5 months
Topics: Topics: Data structure and algorithms, DBMS, OOPS concept, Computer networking, Machine Learning
Tip
Tip

Tip 1 : Focus on the basics
Tip 2 : Solve and practice coding questions as much as possible
Tip 3 : Go through the important subjects such as oops, DBMS, etc, and apply this knowledge in building new projects.

Application process
Where: Referral
Eligibility: No criteria
Resume Tip
Resume tip

Tip 1 : Customize it for the job: Tailor your resume to match the job description and requirements. Highlight the skills and experience that are most relevant to the job you are applying for.
Tip 2 : Highlight your achievements: Instead of just listing your job duties, focus on your accomplishments and how you added value to your previous employers.

Interview rounds

01
Round
Medium
Video Call
Duration60 minutes
Interview date20 Mar 2022
Coding problem2

1. Interleaving Two Strings

Moderate
45m average time
50% success
0/80
Asked in companies
AppleFacebookAmazon

You are given three strings 'A', 'B' and 'C'. Check whether 'C' is formed by an interleaving of 'A' and 'B'.

'C' is said to be interleaving 'A' and 'B', if the length of 'C' is equal to the sum of the length of 'A' and length of 'B', all the characters of 'A' and 'B' are present in 'C' and the order of all these characters remains the same in all three strings.

For Example:
If A = “aab”, 'B' = “abc”, 'C' = “aaabbc”
Here 'C' is an interleaving string of 'A' and 'B'. because 'C' contains all the characters of 'A' and 'B' and the order of all these characters is also the same in all three strings.

interleaving

If 'A' = “abc”, 'B' = “def”, 'C' = “abcdefg”
Here 'C' is not an interleaving string of 'A' and 'B'. 'B'ecause neither A nor 'B' contains the character ‘g’.
Problem approach

Define a function that takes two string inputs and returns a string output.
Initialize an empty string variable to store the common characters found in both input strings.
Iterate through the characters in the first input string.
For each character, check if it is present in the second input string and not already present in the output string variable.
If both conditions are satisfied, add the character to the output string variable.
Return the output string variable.

Try solving now

2. Segregate Even And Odd Nodes In a Linked List

Easy
15m average time
85% success
0/40
Asked in companies
American ExpressOptumGrab

You are given the head node of a singly linked list 'head'. Your task is to modify the linked list in such a way that all the even valued nodes appear before the all odd valued node and order of nodes remain the same.


Example :-
The given singly linked list is  6 -> 5 -> 3 -> 4 -> 7 -> 1 -> 2 

subsequence

The modified linked list should have all even values in starting and odd values in the end.
Problem approach

Define a function that takes a linked list as input and returns a new linked list.
Initialize a new empty linked list to store the odd-valued nodes.
Traverse the input linked list.
For each node, check if the value is odd.
If the value is odd, add the node to the new linked list.
Once all nodes in the input linked list have been checked, return the new linked list.

Try solving now
02
Round
Medium
Video Call
Duration60 minutes
Interview date20 Mar 2022
Coding problem2

1. Cycle Detection in a Singly Linked List

Moderate
15m average time
80% success
0/80
Asked in companies
GrabThalesSterlite Technologies Limited

You are given a Singly Linked List of integers. Return true if it has a cycle, else return false.


A cycle occurs when a node's next points back to a previous node in the list.


Example:
In the given linked list, there is a cycle, hence we return true.

Sample Example 1

Problem approach

Define a function that takes a linked list as input and returns True or False.
Initialize two pointers: a slow pointer and a fast pointer, both pointing to the head of the linked list.
Traverse the linked list, advancing the slow pointer one node at a time and the fast pointer two nodes at a time.
If the fast pointer reaches the end of the list (i.e., its next value is None), the linked list does not contain a loop, and the function should return False.
If the fast pointer reaches a node that is the same as the slow pointer, the linked list contains a loop, and the function should return True.

Try solving now

2. Pair Sum

Easy
15m average time
90% success
0/40
Asked in companies
SalesforceUberPayU

You are given an integer array 'ARR' of size 'N' and an integer 'S'. Your task is to return the list of all pairs of elements such that each sum of elements of each pair equals 'S'.

Note:

Each pair should be sorted i.e the first value should be less than or equals to the second value. 

Return the list of pairs sorted in non-decreasing order of their first value. In case if two pairs have the same first value, the pair with a smaller second value should come first.
Problem approach

Define a function that takes in a list of integers and a target sum.
Create an empty dictionary to store the complement of each integer in the list as the key, and its index in the list as the value.
Traverse the list of integers, for each integer check if its complement exists in the dictionary.
If the complement exists in the dictionary, return a list containing the current integer and its complement, which is stored as the key in the dictionary.
If the complement does not exist in the dictionary, add the current integer's complement (target sum minus current integer) and its index to the dictionary.
If no pair is found in the list, return an empty list.

Try solving now
03
Round
Medium
Video Call
Duration40 minutes
Interview date20 Mar 2022
Coding problem2

1. DBMS Question

Suppose you have a database that stores information about employees in a company. You want to retrieve the names and salaries of all employees who earn more than $50,000 per year.

Problem approach

Identify the relevant tables in the database, which may include an Employee table and a Salary table.
Join the tables using a SQL query that links the Employee ID in the Employee table to the corresponding Employee ID in the Salary table.
Use a WHERE clause to filter the results to only include employees whose salaries are greater than $50,000 per year.
Use a SELECT statement to retrieve the names and salaries of the qualifying employees.
Test the query to ensure that it returns the desired results and make any necessary adjustments to the query, or the database schema as needed.

2. OS question

What is virtual memory and how does it work in an operating system?

Problem approach

Understand the basic concept of memory management in an operating system.
Define what virtual memory is, which is a technique used by the operating system to provide the illusion of a larger amount of memory than is physically available.
Explain how virtual memory works, which involves dividing the memory into fixed-sized pages and mapping these pages to a larger address space.

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Amazon
8518 views
0 comments
0 upvotes
Analytics Consultant
3 rounds | 10 problems
Interviewed by ZS
907 views
0 comments
0 upvotes
company logo
SDE - Intern
1 rounds | 3 problems
Interviewed by Amazon
3320 views
0 comments
0 upvotes
company logo
SDE - 2
4 rounds | 6 problems
Interviewed by Expedia Group
2581 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
4 rounds | 1 problems
Interviewed by Newgen Software
3210 views
2 comments
0 upvotes
company logo
Software Engineer
3 rounds | 6 problems
Interviewed by HashedIn
2583 views
0 comments
0 upvotes
company logo
Software Engineer
2 rounds | 2 problems
Interviewed by Ernst & Young (EY)
0 views
0 comments
0 upvotes