Sde Interview Questions

16,594 sde interview questions shared by candidates

Q3) How would you design and make use of React and Redux when there is a multiform submission. Ex: User Info form, Features form, Additional Details form Conditions: 1) At any given point of time the user filled data should be saved. and when user moves back and forth the data needs to be available. Improvisation: 2) At any given point if the user moves from desktop to mobile. He should be able to access the half-filled data. Ex. the user has filled 1st form(user info form) and then half of the features form, then the user should see the same in the mobile browser. 3) if the "Features form" is a big one and it is difficult to scroll in mobile. The UI Designer wants to split that into further three pages. Then how would you write the code? Would you write different components for "Feature form" for both mobile and desktop? If yes, then any change made in the future will result in editing both places. How to write single component with different runtime behavior?
avatar

SDE-III

Interviewed at Groupon

2.9
Nov 9, 2019

Q3) How would you design and make use of React and Redux when there is a multiform submission. Ex: User Info form, Features form, Additional Details form Conditions: 1) At any given point of time the user filled data should be saved. and when user moves back and forth the data needs to be available. Improvisation: 2) At any given point if the user moves from desktop to mobile. He should be able to access the half-filled data. Ex. the user has filled 1st form(user info form) and then half of the features form, then the user should see the same in the mobile browser. 3) if the "Features form" is a big one and it is difficult to scroll in mobile. The UI Designer wants to split that into further three pages. Then how would you write the code? Would you write different components for "Feature form" for both mobile and desktop? If yes, then any change made in the future will result in editing both places. How to write single component with different runtime behavior?

Viewing 571 - 580 interview questions

Glassdoor has 16,594 interview questions and reports from Sde interviews. Prepare for your interview. Get hired. Love your job.