Round 1:
2Hrs to build a Todo app. There were some main features and optional features that were to be implemented. Once the todo app was built there were questions around why and what for the approaches the I used to implement the features. Also they wanted the code to be Object oriented, have classes etc and No framework was allowed, but bundlers were okay to use. I didnt use any bundler nor did I structure it object-oriented. Wrote functions instead and conveyed the classes i would use and how would i break my code into modules.
Round 2: (Algo and Problem Solving)
Q1. Stack related (available on leetcode)
Q2. Given a k ey value object, where keys are string and values can be array, object, string, number, functions, return the same object but instead of values which were function, return the functions' return value.
Object can be multi-level deep, also functions can have arguments, which will be given.
eg: {
a: 1,
b: () => return 2,
}
Output:
{
a: 1,
b: 2
}
Q3. Pattern matching (leetcode, DP & Memoization)
Round 3: UI releated stuff
normal questions asked in interview, like., box model, promises, event loop, etc., implement own eventmanager, redux like lib etc.
Round 4:
Build an XYZ App. This was more of a discussion.
"Lets say we want to build XYZ". What would the backend look like, the frontend, the APIs, will you use GET or POST or PUT, How will your response/request look like, How would you build this/that etc.
Overall Exp:
Except for 1st round where I had to build a TODO app, all the round were pretty good and open ended. Like the fact that they were discussion rather than me solving a problem.
Compensation: https://leetcode.com/discuss/compensation/1052758/flipkart-ui-engineer-2-bangalore/843020