↳
How long do they take to announce results of quiz round?
↳
As soon as you submit the quiz u will get the mail... May be if you get shortlisted otherwise i don't know Moins
↳
Ty for your response. Do they confirm if I'm selected or not selected by mail?
↳
function sum(x) { return function(y) { return function(z){ return function(w){ return function(){ return x + y + z + w; } } } } } Moins
↳
var sum = (n) => { let result = n; const fn = (n) => { if (n == null) { return result; } result += n; return fn; } return fn; } Moins
↳
const sum = (n, res = 0) => ( n == null ? res : (x) => sum(x, res + n) ); Moins
↳
I used a hash map and a stack to store the indices. I pushed the style into a stack and popped off when I hit the index. I had to write the output so I took care of not having invalid HTML having the <b> and <u> mixed up. This particular use case I had to take care. The interviewer gave me some hints around the hash map but I came up with the algorithm and implemented almost through the complete hour.</u></b> Moins
↳
You can answer it as an algorithm question. Or you can answer it like a true FEE by leveraging the platform. 1. Flatten the tags into a single array of open and close tag pairs. 2. Sort the flattened tags by injection index. 3. Insert tags in reverse order to preserve shifting index. 4. Join the string and pass it to innerHTML and let the browser handle the rest Moins
↳
Hey! I am trying to solve this problem. Can you give me some direction?
↳
Not going to give the question. Had to use mostly vanilla javascript including; setInterval, Math.floor, Array.slice, % operator and understand global vs function vs block scope. Bonus points for understanding request animation frame, this, and the event loop. If you get stuck explain to the engineer your solutions and why they dont work and ask for a hint. I had 2 hints and got the offer. The interviewer obviously knows the solution so dont try and outsmart them. Goodluck Moins
↳
Thanks for the information. This will definitely help one preparing for the interview :-) Moins
↳
Can you please provide more information on this ?
↳
No DSA round for frontend
↳
Can you please tell the CTC, It would be a great help.
↳
Yes, please and your YOE
↳
Positive
↳
Only that's been asked ;) you even did not read the resume.
↳
Thanks for highly interesting in my skills
↳
It will give compile time error, as you are using a variable outside of its scope. Moins
↳
I was not able to answer this
↳
I explained that although the challenge ideally required writing to/from disk for a "perfect solution", Javascript typically gets it's data input via HTTP, and displays its output via the browser, so that was how I would proceed with my solution. Moins
↳
Node
↳
Array.prototype.myFilter = function(callback){ var filteredArray = []; for(var i=0;i{ return el % 2 === 0 }) console.log(filteredArray) Moins
↳
While adding answer to this question it was added incompletely. Hence adding here again Array.prototype.filter = null; if (!Array.prototype.filter) { Array.prototype.filter = function (callback) { var filtered = []; for (var i = 0; i el % 2 === 0); console.log(filteredArr) Moins
↳
My history involving coding, streaming, and gaming.
↳
In these sorts of interviews you really need to drill down and understand what the interviewer is looking for. A good way to simulate a real interview experience is to do a mock with one of the Twitch Frontend Engineer experts on Prepfully, rated super strongly on TrustPilot... prepfully.com/practice-interviews Moins