Tip 1 : Focus on react hands-on coding and practice basic problems like fetch from API and render, sorting etc
Tip 2 : Focus on JS fundamentals likes closure, promise and Inheritance
Tip 3 : Practice for basic JS polyfills like promise.all, array reduce etc
Tip 1 : Add Atleast two major projects
Tip 2 : Brush up all skills you have mentioned on resume
The interviewer was well prepared and on time.
It was a good conversation



Conditions for valid parentheses:
1. All open brackets must be closed by the closing brackets.
2. Open brackets must be closed in the correct order.
()()()() is a valid parentheses.
)()()( is not a valid parentheses.
Iniitaly created a map like {"(":")","{":"}","[":}]"} etc
iterated over the supplied array and created a hash of each item.
iterated over the hash created to find if the brackets are balanced
Fetch from an api and render list Add a button to sort wrt to name
Used hooks,
Used axios to fetch the data
render the list in ul li using map.
Add a button name 'Sort' and attach an event listener to it.
OnClick of Sort button sort the array and update the variable which will re-render and sort the list.
Interviewer was on time and friendly
write polyfill for promise.reduce
iterated over the array and execute the callback on each item.
handle the iniial value like if iniital value is present it should be the first item of your array
JS fundamentals and problems related to closure, promise, inheritance
Asked to explain closure with an example where i explained by creating a timer.
Asked about classical inheriance where i explained by creating two classes and the second class inheriting using super();
Asked about callback and promise difference which i explained.
He was the engineering manager and was on time
Mainly focused on optimizing the process
how to optimise react code?
how to make your code ready to ship to prod, was asking about webpack configuration?
Tip 1:Mentioned code splitting, useMemo,useCallback, preventing re-render.
Tip 2:Learn about webpack configurations,loader and plugins, split chunks etc

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you remove whitespace from the start of a string?