Panda Guru LogoPanda
Guru

C2FO | Senior Software Engineer - UI

Round 1

Questions:

for(var i =0; i < 3; i++) { setTimeout(function log() { console.log(j) }, 1000) };
[1, [2, [3, [4, 5]]], 6]
1 => [1, 2, [3, [4, 5]], 6] 2 => [1, 2, 3, [4, 5], 6]
Array.prototype.myFlat = function(depth=Infinity){} const arr = [1, [2, [3, [4, 5]]], 6] console.log('flattend', arr.myFlat())
console.log(1) const promise = new Promise((resolve, reject)=> { console.log("Inside Promise"); resolve(); console.log("Promise Resolve"); reject(); console.log("Promise Rejected"); }); promise .then(() => { console.log(5) }) .then(() => { console.log(6) return 4; }) .then(console.log) .catch(() => { console.log("Error"); }) console.log(7)
const memoize = (fn) => {} const multiply = (a, b) => a * b; const memoizeMultiply = memoize(multiply); // 10 -> execute logic console.log(memoizeMultiply(5,2)) console.log(memoizeMultiply(5,2)) // 10 -> return from memory
Candidate's Approach

No approach provided.

Interviewer's Feedback

No feedback provided.


Round 2

Questions:

function test () { const a = 10; fetch (newAPI).then( () => { console.log(a + 1) }).catch(() => { console.log(a + 2) }); console.log(a + 3) } test() async function test () { const a = 10; await try{ callMybackend(); } catch{ doSomething(); } console.log(a + 3) }
<section onclick="alert('section')"> <div onclick="alert('div')"> <p onclick="alert('paragraph')"> This is paragraph </p> </div> </section>
Array.prototype.myChunk = function(n = 1){} console.log([1,2,3,4,5,6,7,8,9,10].myChunk())
Candidate's Approach

No approach provided.

Interviewer's Feedback

No feedback provided.


Round 3

Questions:

Candidate's Approach

No approach provided.

Interviewer's Feedback

No feedback provided.


Verdict - Passed

Compensation Details -
(C2FO) C2FO Compensation Discussion
(Birdeye) Birdeye Compensation Discussion