Status: Reject
YOE: 3+
1st Round (Screening)
This was their screening round, mostly question were from JS, after a breif Introduction
e.g
[[1,2,3],4,[[5,4,3]], [3,[4]]] => [1,2,3,4,[5,4,3], 3,[4]]Completed in 10 mins using iterative method
eg.
[1,2,[3,4,[5,6]],7,8,[9]] => [1,2,7,8,9,3,4,9,[5,6]]Again took 10 mins because got little diverted but then realized just using another array in the above will do it.
Array.isArray pollyfillI suggested using Object.prototype.toString(obj) I foget to add a call there, interview was like don't come with hacks 🤔 and hinted towards class instance! answered after this hint, instanceOf even this is not reliable in case of Iframes!
Promise.race pollyfill => ansered in a minute!Throttle pollyfill => ansered in a minute!I don't know what's their selection creteria or why they rejected me, HR ghosted me after this! I was able to answer pretty much everything fast as even I take take interview weekly and these things remain on my finger tips + Leetcode 300+ questions solved.