To find max sum in tree(Expectations kept changing making question unsolvable)
React Developer Interview Questions
3,041 react developer interview questions shared by candidates
Motivations for wanting the role
Thoughts around various testing strategies
Basic questions on JavaScript & React
Working environment in the company
Tell me about most challenging project that you participated.
How do you see yourself in five years?
1.Promise and settimeout output ques console.log("start") setTimeout(() => { console.log("settimeout") }, 1000); var data=new Promise((resolve, reject) => { setTimeout(() => { console.log("inner") resolve("resolves") }, 0); console.log("second") }); console.log("end")
give an array **[]** and target, return the count where the elements are matching to the target Input: arr[] = [2, -1, 1, 5, 7], target = 6 // // Output: 2 and then asked about optimizing the code and then 45 mins resume centric questions.
Suppose you are designing an e-commerce system. There are millions of users, millions of orders, and a very high read/write frequency. How would you design the database schema to ensure: Fast lookups of orders by user, Scalability across multiple servers, Data consistency when multiple users are placing orders at the same time, And also ensure no user can see another user’s data? Explain whether you would use SQL or NoSQL, justify your choice, and discuss indexing strategies, sharding, and transaction isolation levels."
Viewing 291 - 300 interview questions