EGIL - Ericsson Global India Limited interview experience Real time questions & tips from candidates to crack your interview

Software Engineer

EGIL - Ericsson Global India Limited
upvote
share-icon
3 rounds | 8 Coding problems

Interview preparation journey

expand-icon
Journey
I had transitioned from the ECE branch to CSE branch , so had almost 2 years to get all my coding and theories as from final year, companies will start flooding. Started with programming, did OS and DBMS and then just coding and coding. at the end, I again started OS and DBMS and Aptitude and started doing interview questions and that's it. that's all you need to do.
Application story
We have an app called "campus interaction", where we apply fro job openings. We have to just make sure we are in the right eligibility criteria set for the selection.
Why selected/rejected for the role?
I answered most of the questions asked and didnot loose my composure throughout the interview but I got nervous while giving HR round and was thus rejected. I gave many interviews and faced rejections in many of them but that didn't stopped me to get up and try again. There will be a time of depression but those times are the times that make us into what we are.
Preparation
Duration: 5 months
Topics: Data Structures and algorithms, Operating systems, OOPS, System Design, Dynamic Programming and Graphs
Tip
Tip

Tip 1 : Do Leetcode/Code studio/gfg (Atleast 250 questions)
Tip 2 : Prepare your resume well and composed
Tip 3 : Practice your aptitude and HR questions beforehand

Application process
Where: Campus
Eligibility: Above 8.5 cgpa
Resume Tip
Resume tip

Tip 1: Shouldn't exceed 2 pages
Tip 2: Make sure that you don't include too many certifications or skills

Interview rounds

01
Round
Medium
Online Coding Test
Duration50 minutes
Interview date10 Jan 2022
Coding problem2

Coding Questions of medium-hard level and the time limit was 1 hour only

1. Count Subarrays

Easy
15m average time
85% success
0/40
Asked in companies
AdobeMicrosoftLeena AI

You are given an array/list consisting of 0 and 1 only. Your task is to find the sum of the number of subarrays that contains only 1 and the number of subarrays that contains only 0.

An array 'C' is a subarray of array 'D' if 'C' can be obtained from 'D' by deletion of several elements from the beginning and several elements from the end. Example :

Let 'ARR' = [1,0,0] then the possible subarrays of 'ARR' will be: {1}, {0}, {0}, {1,0}, {0,0}, {1,0,0}.
Example
If the given array 'ARR' = [1,0,0,0,1,1,0,1]
Then the number of 1’s subarrays will be 5. [{1},{1},{1},{1,1},{1}]
And the number of 0’s subarrays will be 7. [{0},{0},{0},{0,0},{0,0},{0,0,0},{0}]
So our answer will be 5 + 7 = 12.
Problem approach

1. Sort the vector(non-decreasing).
2. First remove all the duplicates from vector.
3. Then use recursion and backtracking to solve 
the problem.

Try solving now

2. Multiply Strings

Moderate
35m average time
55% success
0/80
Asked in companies
FacebookAmazonIBM

You are given two big numbers ‘A’ and ‘B’ as strings. Your task is to find the product of both the numbers.

Note:

There are no leading zeros in both the strings, except the number 0 itself.
Do not use any built-in Big Integer Library.
For Example:
If, A = 123, and B = 456.
So the product of both numbers will be 56088.
Problem approach

I used regular mathematucal vertical multiplication.
We loop from the end of both numbers, multiply the digits one at a time and save the carry in the next cell for the next iteration.
The loop at the end constructs the result string - we skip 0s at the beginning and add the numbers.

Try solving now
02
Round
Medium
Video Call
Duration60 minutes
Interview date12 Jan 2022
Coding problem2

In this round, the interviewer check your Problem-solving skills and ask questions on Computer Science Engineering, Algorithms & concepts and ask 2 to 3 Data Structures Questions and discuss your projects.

1. OS Question

What are threads and deadlocks. And what are the preventive measures for a deadlock situation.

Problem approach

Tip 1: Revise your OS basics.
Tip 2: Threads are a way for a program to split itself into two or more simultaneously (or pseudo-simultaneously) running tasks. Deadlocks occur when two or more threads are blocked forever, waiting for each other.
Tip 3: Preventive measures for deadlocks include:
Avoiding the "hold and wait" situation by acquiring all the required resources at once, instead of waiting and acquiring them one by one.
Using "lock-ordering" to avoid a circular-wait situation.
Using a "time-out" mechanism to prevent threads from waiting indefinitely.
Using a "watchdog" thread that periodically checks for and resolves deadlocks.
Avoiding nested locks, where a thread holds a lock while trying to acquire another lock.
Using a non-blocking algorithm to avoid the need for locks altogether.
Use libraries or frameworks that provide deadlock prevention mechanisms.

2. All Unique Permutations

Easy
15m average time
85% success
0/40
Asked in companies
AppleFacebookAmerican Express

You are given an array Arr consisting of N integers. Your task is to find all the unique permutations of the given array. For e.g if the array is {1, 1, 2}, the unique permutations of this array are {1, 1, 2}, {1, 2, 1}, {2, 1, 1}. Note that the total number of permutations of {1,1,2} is equal to 6 but out of those {1,1,2} and {1,2,1} occur twice.

Note:
1. There might be duplicates present in the array.
2. The order of the permutations in the output does not matter.
3. Do not use any kind of in-built library functions to find the answer.
Problem approach

The basic idea is to start with an empty list of permutations and recursively add elements from the input array to the list, while keeping track of the remaining elements that have not yet been used.
Another approach is to use backtracking algorithm, which follows the same idea of recursion but it is slightly different in implementation and it is more efficient than the recursive approach as it avoid recomputation.

Try solving now
03
Round
Medium
HR Round
Duration25 minutes
Interview date15 Jan 2022
Coding problem4

This round was taken by the hiring manager or HR.

1. OOPs Questions

What are class and object?
Why do we need class and object?
Why do we need oops concept?

Problem approach

Tip 1: A class is a blueprint or template for creating objects
Tip 2: An object is an instance of a class. It has the properties and methods defined by the class, but with specific values assigned to those properties
Tip 3:We need classes and objects because they provide a way to organize and structure code, making it more modular and reusable

2. Technical Question

Why quicksort is preferred for arrays and merge sort for linked lists.

Problem approach

Tip 1: Quicksort is preferred for arrays because it is an in-place sorting algorithm, meaning that it does not require additional memory space to sort the array.
Tip 2: merge sort is preferred for linked lists because of its efficient merging strategy and not requiring extra memory space.

3. Left View Of Binary Tree

Moderate
30m average time
60% success
0/80
Asked in companies
WalmartSalesforceDelhivery

You have been given a Binary Tree of 'n' nodes, where the nodes have integer values



Example :
If the input tree is as depicted in the picture: 

alt text

The Left View of the tree will be:  2 35 2 
Problem approach

Tip 1: To print the left view of a binary tree, we can use a level-order traversal (also known as breadth-first search) of the tree. 
Tip 2: The idea is to traverse the tree level by level, starting from the root, and print the first node of each level.

Try solving now

4. Set Matrix Zeros

Easy
30m average time
65% success
0/40
Asked in companies
AmazonDunzoGoldman Sachs

You are given an N x M integer matrix. Your task is to modify this matrix in place so that if any cell contains the value 0, then all cells in the same row and column as that cell should also be set to 0.

Requirements:

  • If a cell in the matrix has the value 0, set all other cells in that cell's row and column to 0.
  • You should perform this modification in place (without using additional matrices).

You must do it in place.

For Example:

If the given grid is this:
[7, 19, 3]
[4, 21, 0]

Then the modified grid will be:
[7, 19, 0]
[0, 0,  0]
Try solving now

Here's your problem of the day

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

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
Junior Engineer Associate
2 rounds | 3 problems
Interviewed by EGIL - Ericsson Global India Limited
1212 views
0 comments
0 upvotes
SDE - 1
5 rounds | 14 problems
Interviewed by EGIL - Ericsson Global India Limited
1539 views
0 comments
0 upvotes
Network security
3 rounds | 5 problems
Interviewed by EGIL - Ericsson Global India Limited
737 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3638 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by Optum
7976 views
1 comments
0 upvotes
company logo
Software Engineer
5 rounds | 5 problems
Interviewed by Microsoft
10148 views
1 comments
0 upvotes
company logo
Software Engineer
2 rounds | 4 problems
Interviewed by Amazon
4448 views
1 comments
0 upvotes