User Interface Engineer 2

User Interface Engineer 2 Interview Questions and Answers

Updated 6 Jul 2025

Asked in Flipkart

4d ago

Q. We are fetching data from an API that can take either 3 seconds or 60 seconds to resolve. A loading screen is displayed on the UI. We should not show the loading UI for more than 30 seconds. After 30 seconds, t...

read more
Ans.

Implement a loading strategy for an API call with a timeout and fallback content display.

  • Use a loading state to indicate the API call is in progress.

  • Set a timeout of 30 seconds to manage the loading UI.

  • After 30 seconds, display the main content regardless of API success.

  • Implement cancellation of the API call if it exceeds 30 seconds.

  • Consider using a library like Axios that supports request cancellation.

Asked in Flipkart

2d ago

Q. Write a function that takes a callback function as an argument and executes the callback function after 20 seconds. The callback function should not be changed by calling the function within 20 seconds.

Ans.

Create a function that executes a callback function after 20 seconds without changing it within that time frame.

  • Create a function that takes a callback function as an argument

  • Use setTimeout to delay the execution of the callback function by 20 seconds

  • Ensure that the callback function remains unchanged during the 20-second delay

Asked in Flipkart

2d ago

Q. Write a function that composes multiple functions and returns a new function that composes them from right to left

Ans.

Compose multiple functions from right to left

  • Create a function that takes in an array of functions as arguments

  • Use reduceRight method to compose the functions from right to left

  • Return the composed function

Asked in Flipkart

1d ago

Q. Design a social media platform like WhatsApp.

Ans.

A social media platform like WhatsApp for messaging and communication

  • End-to-end encryption for secure messaging

  • Ability to create groups for group chats

  • Voice and video calling features

  • Status updates for sharing updates with contacts

  • Ability to share photos, videos, and documents

  • Read receipts to see if messages have been read

User Interface Engineer 2 Jobs

Acko logo
Acko - UI Engineer III - React.js (5-7 yrs) 5-7 years
Acko
3.7
Cleartrip Private Limited logo
UI Engineer III 2-4 years
Cleartrip Private Limited
3.5
Bangalore / Bengaluru
Cleartrip Private Limited logo
UI Engineer III 6-8 years
Cleartrip Private Limited
3.5
Bangalore / Bengaluru
Are these interview questions helpful?

Interview Experiences of Popular Companies

Flipkart Logo
3.9
 • 1.5k Interviews
ACKO Logo
3.7
 • 55 Interviews
View all
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Calculate your in-hand salary

Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary

User Interface Engineer 2 Interview Questions
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+

Reviews

10L+

Interviews

4 Cr+

Salaries

1.5 Cr+

Users

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2025 Info Edge (India) Ltd.

Follow Us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter
Profile Image
Hello, Guest
AmbitionBox Employee Choice Awards 2025
Winners announced!
awards-icon
Contribute to help millions!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos
Add office benefits
Add office benefits