Ernst & Young (EY) interview experience Real time questions & tips from candidates to crack your interview

Associate Software Engineer

Ernst & Young (EY)
upvote
share-icon
3 rounds | 2 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 Months
Topics: Java Development, Personality Development, English Skills, Aptitude, Coding in Java and C++
Tip
Tip

Tip 1 : Be confident. It's the key.
Tip 2 : Master problem solving in either Java or C++.
Tip 3 : Communication skills matter a lot.

Application process
Where: Other
Eligibility: Above 6 GPA
Resume Tip
Resume tip

Tip 1 : Be true about yourself. Boasting doesn't help. Infact, it has a negative impact.
Tip 2 : Do not restrict your resume to only academics. Other fields matter a lot to show your personality.

Interview rounds

01
Round
Easy
Online Coding Interview
Duration60 Minutes
Interview date9 Sep 2021
Coding problem2

Easy aptitude questions
One easy level coding question
One moderate level coding question

1. Pythagorean Triplets

Moderate
35m average time
70% success
0/80
Asked in companies
AmazonOYOErnst & Young (EY)

You are given an array of n integers (a1, a2,....,an), you need to find if the array contains a pythagorean triplet or not.

An array is said to have a pythagorean triplet if there exists three integers x,y and z in the array such that x^2 + y^2 = z^2.

Note
1. The integers x,y and z might not be distinct , but they should be present at different locations in the array i.e if a[i] = x, a[j] = y and a[k] = z, then i,j and k should be pairwise distinct.
2. The integers a,b and c can be present in any order in the given array.
Problem approach

Approach :
1) I solved it in O(N^2) approach.
2) Sort the array.
3) Initially map all the elements of the array to their index in a Hash Map or a Hash Set.
4) Now , run 2 for loops and for every x^2 + y^2 ,check if there exists a z^2 s.t x^2+y^2=z^2 and the index of z^2 is
different than both the indices of x and y.

Try solving now

2. Intersection of Linked Lists

Easy
20m average time
70% success
0/40
Asked in companies
IntuitAmazonWalmart

You are given two linked lists L1 and L2 which are sorted in ascending order. You have to make a linked list with the elements which are present in both the linked lists and are present in ascending order.

Example:-
L1 = 1->2->3->4->7
L2 = 2->4->6->7

ANSWER:- The answer should be 2->4->7 because 2,4, and 7 are present in both the linked lists.
Problem approach

Approach :
1) Calculate the length of both the lists, say len1 and len2

2) Get the absolute difference of the lengths, diff = |len1 – len2|

3) Now traverse the long list from the first node till ‘diff’ nodes so that from there onwards both the lists have equal
number of nodes

4) Then traverse both the lists in parallel and check whether a common node is reached (Note that getting a common
node is done by comparing the address of the nodes, not the data)
4.1) If yes, return that node’s data
4.2) If no, return -1


TC : O(N) , where N = max length of the linked list
SC : O(1)

Try solving now
02
Round
Easy
HR Round
Duration20 Minutes
Interview date17 Sep 2021
Coding problem0

HR based questions on a computerized platform. The video was being recorded with no human present on the other side. What keeps you motivated? What is your biggest achievement?

03
Round
Easy
Video Call
Duration30 Minutes
Interview date22 Sep 2021
Coding problem0

Thorough interview based on Java development and SQL. What are views? What is indexing. How do you connect db from java code?

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
company logo
Associate Software Engineer
3 rounds | 15 problems
Interviewed by Ernst & Young (EY)
2405 views
0 comments
0 upvotes
company logo
Associate Software Engineer
3 rounds | 2 problems
Interviewed by Ernst & Young (EY)
1471 views
0 comments
0 upvotes
company logo
Associate Software Engineer
2 rounds | 2 problems
Interviewed by Ernst & Young (EY)
1434 views
0 comments
0 upvotes
company logo
Analyst
3 rounds | 4 problems
Interviewed by Ernst & Young (EY)
2196 views
1 comments
0 upvotes
Companies with similar interview experiences
company logo
Associate Software Engineer
4 rounds | 9 problems
Interviewed by NCR Corporation
1513 views
0 comments
0 upvotes
company logo
Associate Software Engineer
2 rounds | 3 problems
Interviewed by CIS - Cyber Infrastructure
598 views
0 comments
0 upvotes
company logo
Associate Software Engineer
3 rounds | 7 problems
Interviewed by CIS - Cyber Infrastructure
624 views
0 comments
0 upvotes