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
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