23 questions · from 1 interviews
EY interview questions
Every question candidates reported from their EY interviews, most frequently asked first. Each links to the write-up it came from, so you can see the round and how it went.
EY coding and DSA questions
- 01
Remove Duplicates from String
Write code (presumably JavaScript) to remove duplicate characters from a given string.
Easy · From EY India | Frontend Developer | August 2025 | 3.5 YOE
- 02
Reverse Characters of Words in a Sentence
Write code (presumably JavaScript) to reverse the characters of each word in a given sentence, while maintaining the word order (e.g., "Hello World" becomes "olleH dlroW").
Medium · From EY India | Frontend Developer | August 2025 | 3.5 YOE
EY other questions
- 01
Nested Routes with Pseudocode
Explain what nested routes are and provide pseudocode for their syntax.
- 02
useEffect Cleanup Syntax
What is the syntax for the cleanup function in React's useEffect hook?
- 03
Difference between useEffect and useLayoutEffect
Explain the differences between React's useEffect hook and useLayoutEffect hook.
- 04
What is useImperativeHandle Hook?
Explain the purpose and usage of React's useImperativeHandle hook.
- 05
What is a Promise? (JavaScript)
Define what a Promise is in JavaScript and provide pseudocode for its syntax.
- 06
Difference between Promise.allSettled and Promise.race
Explain the differences between Promise.allSettled() and Promise.race() in JavaScript.
- 07
What is React Context API?
Explain what the React Context API is and its use cases.
- 08
What are Web Components?
Define Web Components and their main concepts.
- 09
What is a React Router Outlet?
Explain the purpose of an <Outlet /> component, likely in the context of React Router.
- 10
Focus Input on Page Load without JS onFocus in React
Describe a method to automatically focus an input field when a React component or page renders for the first time, without relying on the onFocus JavaScript event.
- 11
Pseudocode for Lazy Loading
Provide pseudocode demonstrating how to implement lazy loading, likely in the context of React components or images.
- 12
Difference between React.memo and useMemo
Explain the differences and use cases for React.memo and useMemo in React.
- 13
Parallel API Calls Strategy
Describe your approach and the techniques you would use to call multiple APIs in parallel in a given scenario.
- 14
What is JavaScript Event Loop?
Explain the concept of the Event Loop in JavaScript.
- 15
Dynamic API Endpoint based on User Input
Design or describe how to implement a system where an API endpoint changes dynamically based on user input for fetching results.
- 16
JavaScript Hoisting & Scope Output Question 1
What will be the output of the following JavaScript code snippet? console.log(a); var a = 10; function test() { console.log(a); var a = 20; console.log(a); } test(); console.log(a);
Medium · From EY India | Frontend Developer | August 2025 | 3.5 YOE
- 17
JavaScript Hoisting & Function Expression Output Question 2
What will be the output of the following JavaScript code snippet? bar(); var bar = function() { console.log('Hi'); };
Easy · From EY India | Frontend Developer | August 2025 | 3.5 YOE
- 18
What are Web Vitals?
Explain what Web Vitals are and their significance in web performance.
- 19
What is React Diffing Algorithm?
Explain the concept of React's Diffing Algorithm (or virtual DOM diffing).
- 20
Difference between Shallow Copy and Deep Copy
Explain the differences between shallow copy and deep copy, particularly in the context of JavaScript objects.
- 21
How to achieve Deep Copy in JavaScript?
Describe various methods to achieve a deep copy of an object in JavaScript.
EY interview questions FAQ
What questions are asked in EY interviews?
Candidates reported 23 distinct questions across 1 EY interviews. 2 coding and DSA questions, 21 other questions.