Mid/Senior Engineer

Company name - Meesho πŸ¦„

Position - SDE-2 (Frontend Enginner)

1st ROUND - Domain specific round

πŸ“Œ Project discussion

πŸ“Œ Implementation of currying function.

Fun(1)(2)(3)

πŸ‘‰Follow up - what if argument goes till n?

πŸ“Œ Implementation of group by pollyfill. (try this and test your skill )

Follow up-

πŸ‘‰ What if arguments are functions.

πŸ‘‰What if arguments is mixture of funtion + string+ number + promise.

πŸ‘‰ How will you handle async call in group by.

Company name - InMobi πŸ¦„

Position - SDE-2 (Frontend Enginner)

1st ROUND - Domain specific round

πŸ“Œ Difference between ts and js.

πŸ“Œ Ways to improve performance and security of web application.

πŸ“Œ Write a pollyfill for flat array. Array.flat() in both recursive and iterative ways.

πŸ‘‰Follow up questions included depth.

πŸ“Œ How you manage state in you app.

πŸ“Œ which programming do you prefer functional programming or class based programming. and advantage of each

πŸ“Œ What is SSR? how it is beneficial?

Company name - Uber

Position - SDE-2 (Frontend Enginner)

1st ROUND - DSA CODING

πŸ“ŒEdit distance

https://lnkd.in/g5Cri4sp

πŸ“Œ Phone number combination πŸ“±

https://lnkd.in/gqyBSnBZ

2ND ROUND - DOMAIN SPECIFIC

πŸ“Œ Interview asked me to build calculator using html css and js with basic functionality like addition, subtraction, multiplication, division, bracket, equal button.

πŸ“Œ Build a eval function on top of it.

Company name - Appsmith

Position - SDE-2 (Frontend Enginner)

1st ROUND - DSA CODING

πŸ“Œ Build functionality for an application like Twitter

πŸ‘‰ How can I add or remove user.

πŸ‘‰ If User post anything, to whom it should be visible and follow up what if I blocked some user.

πŸ‘‰ How will we handle if a particular post is reported spam by so many users.

πŸ‘‰ How can suggest mutual friend to a user.

And related follow up questions

Overall they were looking for how my approach to #design this of system and what data structures I am using.

2ND ROUND - DOMAIN SPECIFIC

πŸ“Œ project discussion

πŸ“Œ A nested (upto n level) object with unique id

Interface Obj = {

Tag : string,

Props: {with different properties}

Id: number,

Children:[array of obj]

}

I have to build a function with parameters as a pass id and props.

πŸ‘‰ Search obj for given id.

πŸ‘‰ Replace searched_id_obj with new props and create a new reference of searched_id_obj and update that object so state could be changed.

3RD ROUND - Managerial round

πŸ“Œ project discussion

πŸ“Œ Culture questions

Company name - ShareChat πŸ¦„

Position - SDE-2 (Frontend Enginner)

1st ROUND - DSA CODING

πŸ“ŒFind longest string without repeating charcter.

https://lnkd.in/dqR3hSc2

πŸ“Œ Print left view of tree

2ND ROUND - DOMAIN SPECIFIC

πŸ“Œ print number 1 to 10 in time interval of 1 sec.

πŸ“Œ Restrict number of Calls in search box i.e. debouncing and follow up questions.

πŸ“Œ what are ways to hide elements in DOM.

πŸ“Œ Difference between web worker and service worker.

3RD ROUND - Managerial round

πŸ“Œ project discussion

πŸ“Œ He gave me assignment

πŸ‘‰ Build login form and store data in local storage.

πŸ‘‰Build a signup form and if user exist go to HOME page else show error on UI.

Company name - Swiggy πŸ¦„

Position - SDE-2 (Frontend Enginner)

1st ROUND - MACHINE CODING

πŸ“ŒDesign an application similar to shopping cartΒ which has following feature within 1hrπŸ‘‡

πŸ‘‰Β Based on stock value in response, show β€œin stock” or β€œout of stock”.

πŸ‘‰Β  Stock will reduce on adding to the bag.

πŸ‘‰Β  Allow add to bag only till the stock is greater than zero.

πŸ‘‰Β  The list must be searchable on name and description fields.

πŸ‘‰Β  The list must be filterable on category and stock (in stock/ out of stock).

πŸ‘‰Β  Cart/Bag must have quantity increase and decrease buttons. The price multiplied by the quantity to be shown in the sub total.

Good to have Pagination, Formatting of long descriptions and sort by price

2ND ROUND - DOMAIN SPECIFIC

πŸ“Œ Write pollyfill of JSON.stringify?

πŸ“Œ Pollyfill of bind?

Company name - Tekion Corp

Position - Software Engineer

1st ROUND

πŸ“ŒCreate an input box which accept only number.

πŸ‘‰ If number is more than 10 than it input value should show 10 and if less than 1then should show 1 else number

πŸ‘‰ Generate list of item from 1 to number shown in input box

πŸ“Œ Implement promise.All()

πŸ“Œ write a pollyfill which gives us count of vowel in a string.

πŸ“Œ reverse a linked list

2nd ROUND

πŸ“Œ Write a Memoization function

πŸ“Œ Implementation of Promise.all() with some follow up on edge case like how to handle string number.

πŸ“Œ Ask me to build virtual table which has fixed number of rows and has scroll effect

3rd ROUND

πŸ“Œ Project discussion.

πŸ“Œ Implement Promise class.

Company name - Dream11 πŸ¦„

position - SDE-2

DSA ROUND

πŸ“Œ 3 sum

πŸ“Œ Exectly don't remember the problem but it was related to sliding window.

DOMAIN SPECIFIC ROUND

πŸ“Œ Implementation of Promise.any

πŸ“Œ Memoize function

πŸ“Œ Clear all timeout

πŸ“Œ Difference between

πŸ‘‰Display:none

πŸ‘‰visibility:hidden

πŸ‘‰opacity:0

SYSTEM DESIGN ROUND

πŸ“Œ Given a list of 3 API I have to design app which shows

πŸ‘‰List of books

πŸ‘‰On click select the book

πŸ‘‰Scroll to next page (without Pagination)

render data as per api

And lot of cross questions about optimization, performance , catching , preloading