Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding Ninjas X Naukri.com
EGIL - Ericsson Global India Limited interview experience Real time questions & tips from candidates to crack your interview

Junior Engineer Associate

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

Interview preparation journey

expand-icon
Preparation
Duration: 4 months
Topics: Data Structures, OOPS, DP, Algorithms, DBMS
Tip
Tip

Tip 1 : Prepare for basic implementation of data structures
Tip 2 : Be good at OOPS Concepts 
 

Application process
Where: Campus
Eligibility: 6.5 CGPA
Resume Tip
Resume tip

Tip 1 : Be honest with your resume.
Tip 2 : Mention 1-2 projects in resume such that a healthy discussion can take place.

Interview rounds

01
Round
Easy
Online Coding Interview
Duration30 minutes
Interview date9 Sep 2019
Coding problem1

1. OS Question

This is one of the questions- 
To avoid the race condition, the number of processes that may be simultaneously inside their critical section is?

Problem approach

The answer to the problem is 1.  Race condition bring in the idea of critical section. Critical section is a mutually exclusive section whereby more than 1 process reading or writing the shared data is prohibited. Critical section is the part of program code where the program changes global variables, writing files etc. So entering more than one process in their critical section may cause race condition.

 

02
Round
Easy
Face to Face
Duration45 minutes
Interview date10 Sep 2019
Coding problem2

1. Find the fastest three horses

Puzzle Question-
There are 25 horses among which you need to find out the fastest 3 horses. You can conduct race among at most 5 to find out their relative speed. At no point you can find out the actual speed of the horse in a race. Find out how many races are required to get the top 3 horses.

Problem approach

Make group of 5 horses and run 5 races. Suppose five groups are a,b,c,d,e and next alphabet is its individual rank in tis group(of 5 horses).for eg. d3 means horse in group d and has rank 3rd in his group. [ 5 RACES DONE ]
a1 b1 c1 d1 e1
a2 b2 c2 d2 e2
a3 b3 c3 d3 e3
a4 b4 c4 d4 e4
a5 b5 c5 d5 e5

Now make a race of (a1,b1,c1,d1,e1).[RACE 6 DONE] suppose result is a1>b1>c1>d1>e1
which implies a1 must be FIRST.
b1 and c1 MAY BE(but not must be) 2nd and 3rd.
FOR II position, horse will be either b1 or a2
(we have to find top 3 horse therefore we choose horses b1,b2,a2,a3,c1 do racing among them [RACE 7 DONE].
The only possibilities are :
c1 may be third
b1 may be second or third
b2 may be third
a2 may be second or third
a3 may be third
The final result will give ANSWER. suppose result is a2>a3>b1>c1>b2
then answer is a1,a2,a3,b1,c1.
HENCE ANSWER is 7 RACES

2. Longest palindromic substring

Moderate
35m average time
65% success
0/80
Asked in companies
DelhiveryFlipkartTata Consultancy Services (TCS)

Given a string ’S’ consisting of lower case English letters, you are supposed to return the longest palindromic substring of ‘S’.

Note that in case of more than one longest palindromic substrings with the same length you need to return the rightmost substring in the given string. For example in string “bbbab”, there are two possible longest palindromic substrings i.e. “bbb” and “bab”, and since you are supposed to return the rightmost substring, so you need to return “bab” as the answer.

Note:
A substring is a contiguous sequence of elements within a string (for example, “bcd” is a substring of “abcde” while “bce” is not).

A string is said to be palindrome if the reverse of the string is the same as the actual string. For example, “abba” is a palindrome, but “abbc” is not a palindrome.
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 write a single-line comment in C++?

Choose another skill to practice
Start a Discussion
Similar interview experiences
SDE - 1
5 rounds | 14 problems
Interviewed by EGIL - Ericsson Global India Limited
638 views
0 comments
0 upvotes
Software Engineer
3 rounds | 8 problems
Interviewed by EGIL - Ericsson Global India Limited
503 views
0 comments
0 upvotes
Network security
3 rounds | 5 problems
Interviewed by EGIL - Ericsson Global India Limited
465 views
0 comments
0 upvotes
Product Engineer
3 rounds | 5 problems
Interviewed by Squadstack
1490 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Junior Engineer Associate
3 rounds | 8 problems
Interviewed by CIS - Cyber Infrastructure
1118 views
0 comments
0 upvotes
company logo
Junior Engineer Associate
3 rounds | 5 problems
Interviewed by CIS - Cyber Infrastructure
1014 views
0 comments
0 upvotes
company logo
Junior Engineer Associate
2 rounds | 3 problems
Interviewed by CIS - Cyber Infrastructure
786 views
0 comments
0 upvotes