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

  1. 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

  2. 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

  1. 01

    Nested Routes with Pseudocode

    Explain what nested routes are and provide pseudocode for their syntax.

    From EY India | Frontend Developer | August 2025 | 3.5 YOE

  2. 02

    useEffect Cleanup Syntax

    What is the syntax for the cleanup function in React's useEffect hook?

    From EY India | Frontend Developer | August 2025 | 3.5 YOE

  3. 03

    Difference between useEffect and useLayoutEffect

    Explain the differences between React's useEffect hook and useLayoutEffect hook.

    From EY India | Frontend Developer | August 2025 | 3.5 YOE

  4. 04

    What is useImperativeHandle Hook?

    Explain the purpose and usage of React's useImperativeHandle hook.

    From EY India | Frontend Developer | August 2025 | 3.5 YOE

  5. 05

    What is a Promise? (JavaScript)

    Define what a Promise is in JavaScript and provide pseudocode for its syntax.

    From EY India | Frontend Developer | August 2025 | 3.5 YOE

  6. 06

    Difference between Promise.allSettled and Promise.race

    Explain the differences between Promise.allSettled() and Promise.race() in JavaScript.

    From EY India | Frontend Developer | August 2025 | 3.5 YOE

  7. 07

    What is React Context API?

    Explain what the React Context API is and its use cases.

    From EY India | Frontend Developer | August 2025 | 3.5 YOE

  8. 08

    What are Web Components?

    Define Web Components and their main concepts.

    From EY India | Frontend Developer | August 2025 | 3.5 YOE

  9. 09

    What is a React Router Outlet?

    Explain the purpose of an <Outlet /> component, likely in the context of React Router.

    From EY India | Frontend Developer | August 2025 | 3.5 YOE

  10. 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.

    From EY India | Frontend Developer | August 2025 | 3.5 YOE

  11. 11

    Pseudocode for Lazy Loading

    Provide pseudocode demonstrating how to implement lazy loading, likely in the context of React components or images.

    From EY India | Frontend Developer | August 2025 | 3.5 YOE

  12. 12

    Difference between React.memo and useMemo

    Explain the differences and use cases for React.memo and useMemo in React.

    From EY India | Frontend Developer | August 2025 | 3.5 YOE

  13. 13

    Parallel API Calls Strategy

    Describe your approach and the techniques you would use to call multiple APIs in parallel in a given scenario.

    From EY India | Frontend Developer | August 2025 | 3.5 YOE

  14. 14

    What is JavaScript Event Loop?

    Explain the concept of the Event Loop in JavaScript.

    From EY India | Frontend Developer | August 2025 | 3.5 YOE

  15. 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.

    From EY India | Frontend Developer | August 2025 | 3.5 YOE

  16. 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. 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. 18

    What are Web Vitals?

    Explain what Web Vitals are and their significance in web performance.

    From EY India | Frontend Developer | August 2025 | 3.5 YOE

  19. 19

    What is React Diffing Algorithm?

    Explain the concept of React's Diffing Algorithm (or virtual DOM diffing).

    From EY India | Frontend Developer | August 2025 | 3.5 YOE

  20. 20

    Difference between Shallow Copy and Deep Copy

    Explain the differences between shallow copy and deep copy, particularly in the context of JavaScript objects.

    From EY India | Frontend Developer | August 2025 | 3.5 YOE

  21. 21

    How to achieve Deep Copy in JavaScript?

    Describe various methods to achieve a deep copy of an object in JavaScript.

    From EY India | Frontend Developer | August 2025 | 3.5 YOE

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.