Stories feature design
Design Instagram Stories: photos and short videos that vanish after 24 hours, tap left or right to advance, and a seen indicator. Focus on the media loading that makes the next story appear the instant you tap.
Design Instagram Stories: photos and short videos that vanish after 24 hours, tap left or right to advance, and a seen indicator. Focus on the media loading that makes the next story appear the instant you tap.
The story tray fetches only per-user bundle metadata, then preloads the current item plus the next 1 or 2. Video gets fast first frames through an AVPlayer instance pool and HLS, and expiry is filtered on the client against server time.
ConcurrencyShort answerExpert
You're building an app that applies real-time filters to the camera preview. It has to…
#video
CS fundamentals and algorithmsShort answerAdvanced
You've implemented an LRU cache and the interviewer follows up: "Now make each entry…
#expiry
NetworkingMultiple choiceAdvanced
You're building a feature that downloads video and audio files (hundreds of MB to GB) for…
#media
SecurityShort answerAdvanced
Your app puts the token the server returned at login into the header of every request. An…
#expiry