zeta logo
Zeta· FrontEnd Engineer

FrontEnd Engineer | ZETA | HYD

Location
HYD
Posted
10 Aug 2025
310 reads

Summary

I had a good interview experience for a FrontEnd Engineer role at ZETA, which included three specific coding questions focusing on JavaScript fundamentals, memoization, and implementing an Undo/Redo functionality within 60 minutes.

How it went

Round 1

  1. What would be the output of below code snippet
    console.log(1)
    

    const promise = new Promise((resolve) => { console.log(2) resolve() console.log(3) })

    console.log(4)

    promise.then(() => { console.log(5) }).then(() => { console.log(6) })

    console.log(7)

    setTimeout(() => { console.log(8) }, 10)

    setTimeout(() => { console.log(9) }, 0)

  2. Implement Memoize funcion. Run it with input of different datatypes
  3. Implement a JS class HistoryManager that mimics Undo/Redo functionality

Need to complete all the questions within 60 minutes.

Interviewer had good Frontend expertise. Overall interview experience was good

Questions asked (3)

  1. 01

    JavaScript Event Loop Output Prediction

    Other

    What would be the output of the below code snippet

    console.log(1)
    

    const promise = new Promise((resolve) => { console.log(2) resolve() console.log(3) })

    console.log(4)

    promise.then(() => { console.log(5) }).then(() => { console.log(6) })

    console.log(7)

    setTimeout(() => { console.log(8) }, 10)

    setTimeout(() => { console.log(9) }, 0)

  2. 02

    Implement Memoize Function

    Data Structures & Algorithms

    Implement Memoize function. Run it with input of different datatypes

  3. 03

    Implement HistoryManager with Undo/Redo

    Data Structures & Algorithms

    Implement a JS class HistoryManager that mimics Undo/Redo functionality

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at Zeta recently?

Write up your rounds while you still remember the questions. It helps the next person more than you would think.

Share your experience
Discussion 0

Questions for the author, or how your own interview compared.

Join the discussion

Sign in with Google to comment or ask the author a question.

No comments yet

Be the first to share your thoughts and start the discussion!