
Explain how you would optimize an Android app for performance. Focus on how you would identify bottlenecks, reduce UI jank, lower memory pressure, and improve code-level efficiency using better data structures or algorithms.
Finding bottlenecks with profilingReducing main-thread workImproving array and string hot pathsUsing hash tables for faster lookupApplying memoization or dynamic programming when work repeats