
Explain the key considerations for data storage in a mobile app. Compare when you would use in-memory data structures, file-based storage, or indexed local storage, and discuss trade-offs around performance, offline access, synchronization, and security.
Choosing storage based on access patternsUsing arrays vs hash tables for local data accessReasoning about persistence and offline behaviorHandling sync and conflict resolutionProtecting sensitive data on device