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
π Phone number combination π±
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.
π 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
Company name - Dream11 π¦
position - SDE-2