Skip to content

Interview questions

Mobile engineer interview questions

Common questions for Mobile engineer roles. Read, copy and practise.

Free with every account.

Practice questions from open collections and written with AI. Not reported from interviews.

Technical

Coding

  1. How would you implement a function to detect if a linked list has a cycle using constant space?

  2. Write a method to efficiently merge two sorted arrays into one sorted array in mobile apps.

  3. Write code to serialize and deserialize a custom object for Android's Parcelable interface or iOS Codable protocol.

  4. How do you implement a thread-safe mechanism for updating shared data in a concurrent environment on mobile platforms?

  5. Design an algorithm to efficiently detect duplicate contacts by name and phone number in a user's mobile device database.

  6. Describe how you would write a function to reverse a string in Swift or Kotlin without using built-in reverse methods.

  7. Write a function that detects if two strings are anagrams and analyze its time and space complexity.

System design

  1. Design File Downloader Library.

  2. Design Instagram Stories.

  3. Design Networking Library.

  4. Design Facebook Near-By Friends App.

  5. Design Caching Library.

  6. Design LRU Cache.

  7. Design Analytics Library.

  8. Design Logging Library.

Show 16 more system design questions
  1. How would you design an Android app architecture using Kotlin to support both small and large scale projects?

  2. How would you design a modular iOS app architecture to ensure scalability and maintainability?

  3. How would you design an offline-first architecture for a mobile app that frequently updates user-generated content?

  4. Can you design a high-level architecture for a cross-platform app using Flutter that integrates native device APIs securely and efficiently?

  5. How would you design an offline-first mobile app to handle intermittent network connectivity for both Android and iOS?

  6. Can you explain the architecture you would use to support real-time synchronization between multiple devices in a mobile app?

  7. Describe how you would design a cross-platform messaging app with end-to-end encryption on mobile devices.

  8. What system design considerations are important when building a battery-efficient location tracking feature in a mobile app?

  9. How would you architect a mobile app to efficiently cache and update large datasets from a remote server?

  10. Design a push notification system for a mobile app that scales to millions of users and supports personalized notifications.

  11. Explain the design trade-offs between using local data storage versus cloud storage in a mobile photo-sharing app.

  12. How would you design an authentication system for a mobile app that supports social logins and multi-factor authentication?

  13. What strategies would you use in system design to minimize app launch time and improve startup performance on mobile?

  14. How would you design a modular and scalable mobile app architecture to support frequent feature releases across Android and iOS?

  15. Describe a design approach for handling data synchronization conflicts in a mobile app that supports offline edits.

  16. How would you design a mobile app to securely handle sensitive user data while complying with privacy regulations like GDPR or CCPA?

Other technical questions

  1. Question: What is an inline function in Kotlin?

  2. Question: What is the advantage of using const in Kotlin?

  3. Question: What is a reified keyword in Kotlin?

  4. Question: What is Multidex in Android?

  5. Question: How does the Android Push Notification system work?

  6. Question: How does the Kotlin Multiplatform work?

  7. Question: What is a ViewModel and how is it useful?

  8. Question: Is it possible to force the Garbage Collection in Android?

Show 243 more other technical questions
  1. Question: What is a JvmStatic Annotation in Kotlin?

  2. Question: Why is it recommended to use only the default constructor to create a Fragment?

  3. Question: Why do we need to call setContentView() in onCreate() of Activity class?

  4. Question: When only onDestroy is called for an activity without onPause() and onStop()?

  5. Explain the use-case of let, run, with, also, apply in Kotlin.

  6. Explain inline classes in Kotlin.

  7. Tell about the Collections in Kotlin.

  8. Tell all the Android application components.

  9. What is the difference between onCreate() and onStart() - Learn from here?

  10. When should you use a Fragment rather than an Activity?

  11. What is the difference between FragmentPagerAdapter vs FragmentStatePagerAdapter?

  12. How would you communicate between two Fragments?

  13. What is the purpose of addToBackStack() while commiting fragment transaction?

  14. What is View in Android?

  15. What are ViewGroups and how they are different from the Views?

  16. Tell about Constraint Layout optimization.

  17. How does RecyclerView improve performance over ListView?

  18. What are the components of a RecyclerView?

  19. Explain the role of RecyclerView.Adapter and RecyclerView.ViewHolder.

  20. What is a LayoutManager in RecyclerView?

  21. How do you handle multiple view types in a single RecyclerView?

  22. How do you update a specific item in RecyclerView?

  23. Describe how broadcasts and intents work to be able to pass messages around your app?

  24. What is a PendingIntent?

  25. Explain Android Service Lifecycle.

  26. Explain Looper, Handler, and HandlerThread.

  27. Tell about the Bitmap pool.

  28. Explain Scoped Storage in Android.

  29. How to encrypt data in Android?

  30. What is commit() and apply() in SharedPreferences?

  31. What is a Spannable?

  32. What is a SpannableString?

  33. What are the best practices for using text in Android?

  34. How to implement Dark mode in any application?

  35. How to identify and fix OutOfMemory issues?

  36. How do you find memory leaks in Android applications?

  37. How to reduce battery usage in an Android application?

  38. What are the different protection levels in permission?

  39. What is Android Jetpack and why to use this?

  40. What are Android Architecture Components?

  41. How is LiveData different from ObservableField?

  42. Explain WorkManager and its use cases.

  43. How does ViewModel work internally?

  44. What is Android Data Binding?

  45. Explain OkHttp Interceptor.

  46. Explain @ Inject, @ Module, @ Provides, @ Component Annotations in Dagger 2.

  47. How does the Dagger work?

  48. How will you choose between Dagger 2 and Dagger-Hilt?

  49. What is a Component in Dagger?

  50. What is Module in Dagger?

  51. What is Multipart Request in Networking?

  52. Tell me something about RxJava.

  53. How will you handle error in RxJava?

  54. Tell the difference between Concat and Merge.

  55. Explain Subject in RxJava.

  56. Design Pattern used in Android.

  57. Design Pattern Used in Retrofit Library Source Code.

  58. Design Pattern used in Glide (Image Loading Library)

  59. Design Patterns used in AOSP (Android Open Source Project)

  60. Explain the unit test.

  61. Describe code coverage.

  62. How to measure method execution time in Android?

  63. What are things that we need to take care while using Proguard?

  64. How to use Android Studio Memory Profiler?

  65. What is Gradle?

  66. How can you speed up the Gradle build?

  67. Can we use traditional Android Views and Compose together?

  68. Explain the concept of declarative UI in Jetpack Compose.

  69. What are Composable functions?

  70. What is Recomposition?

  71. What is State in Compose?

  72. How does state management work in Jetpack Compose?

  73. What are the side effects?

  74. What is rememberCoroutineScope and its use cases?

  75. How to observe Flows, and LiveData states in Compose UI?

  76. How can we handle asynchronous operations in Jetpack Compose?

  77. How can we convert a non-compose state into a Compose state?

  78. Explain the Lifecycle of a Composable in Jetpack Compose.

  79. How do you handle lifecycle events in Compose functions?

  80. What are the best practices for performance optimization in Jetpack Compose?

  81. Can we use both Jetpack Compose and Android View in a Single App?

  82. What is State Hoisting?

  83. What is the role of the Modifier in Jetpack Compose?

  84. What are Semantics?

  85. How can you handle user input and events in Jetpack Compose?

  86. How do you handle navigation in Jetpack Compose?

  87. How do you handle orientation changes in Jetpack Compose?

  88. Explain the concept of unidirectional data flow in Jetpack Compose.

  89. How to create Custom Layouts in Compose?

  90. Explain OOP Concepts.

  91. Differences between abstract classes and interfaces?

  92. Can an Interface implement another Interface?

  93. Explain Generics in Java.

  94. What does it means to say that a String is immutable?

  95. Can you list 8 primitive types in java?

  96. What is the difference between an Integer and int?

  97. Do objects get passed by reference or value in Java? Elaborate on that.

  98. What does the keyword synchronized mean?

  99. What is volatile modifier?

  100. How does the try{}, catch{}, finally works?

  101. What is the difference between a Checked Exception and an Un-Checked Exception?

  102. What is transient modifier?

  103. What are anonymous classes?

  104. What is the difference between using == and .equals on an object?

  105. What is the hashCode() and equals() used for?

  106. When would you make an object value final?

  107. What are these final, finally and finalize keywords?

  108. What is the difference between "throw" and "throws" keyword in Java?

  109. What does the static word mean in Java?

  110. Can a static method be overridden in Java?

  111. When is a static block run?

  112. What is Dependency Injection?

  113. What is the difference between fail-fast and fail-safe iterators in Java?

  114. Have you used Room?

  115. Can we identify the users who have uninstalled our application?

  116. How to avoid API keys from check-in into VCS?

  117. How to use Memory Heap Dumps data?

  118. How to implement Dark Theme in your app?

  119. How to secure the API keys used in an Android App?

  120. Tell something about memory usage in Android.

  121. Explain Annotation processing.

  122. How to show local Notification at an exact time?

  123. Describe your general testing practices when building an iOS app.

  124. How can apps support other languages, date formats and currencies?

  125. What is Instruments and how is it useful?

  126. Explain Handoff, and in general, how it allows iOS and Mac/web apps to communicate?

  127. What technologies/services are contained inside of iCloud?

  128. Explain application sandboxing.

  129. What is VoiceOver? Explain some of the accessibility features included in iOS and how developers can utilize them.

  130. How does application multitasking work on iOS?

  131. What are iBeacons?

  132. What is Cocoa/Cocoa Touch?

  133. Explain in general, what Core Audio, Core Data, and Core Location are, and how they help iOS apps.

  134. Describe the role of SpriteKit and SceneKit.

  135. What is Metal?

  136. What are the different actions that buttons and other controls can respond to?

  137. What is the role of the application delegate?

  138. Explain NSUserDefaults. How would you serialize an array to disk?

  139. How would you store user's credentials?

  140. Explain Keychain Services.

  141. Why are caching and compression important on mobile devices?

  142. Explain ~/Documents, ~/Library, ~/tmp. What directory is ~ on iOS?

  143. Give a brief overview of what sensors, IO and communication methods (Wifi, telephony, etc) are available on iOS. How can you make use of these?

  144. What are the hardware performance differences among the iPad 2 / iPad mini 1-3, iPad Retina, iPad Air 2, iPhone 5, 5s, 6, and 6+. What do these constraints mean for performance intensive apps?

  145. Why do Cocoa Touch classes start with two capital letters?

  146. What is Swift, what is Objective-C and how do they relate and compare?

  147. Explain why optionals are useful in Swift.

  148. Explain NSError and how it works (or doesn't) in Swift.

  149. How does instancetype work and how is it useful?

  150. Why and where is the map function useful?

  151. You found a bug in Cocoa. What do you do?

  152. How are Objective-C classes implemented? Describe how the Objective-C runtime is implemented.

  153. What security does iOS offer to protect customers and privileged information?

  154. Our app downloads data and displays it immediately. In accordance with MVC where is the best place to perform the download?

  155. How does MVC influence the design of a codebase?

  156. Give a brief description of how UIScrollView is implemented. How does it operate with gesture recognizers, multiple touches and the run loops?

  157. What API would you add or improve on iOS?

  158. Explain the purpose of Interface Builder, what is a NIB file?

  159. What image filetype should iOS UI assets be saved in?

  160. Describe some differences between a Storyboard and a standard NIB file.

  161. What is a split-view controller?

  162. What kind of notifications does iOS offer?

  163. Describe the purpose of Auto Layout, and in general, how it works.

  164. What is required to display iAds?

  165. What is your favorite iOS API?

  166. How do you manage asynchronous tasks in Kotlin for Android without blocking the main thread?

  167. Explain the difference between val and var in Kotlin and when you prefer to use each in Android development.

  168. What is a sealed class in Kotlin and how can it be used effectively in Android app architecture?

  169. How do you handle dependency injection in Kotlin-based Android projects?

  170. Describe how you would use Kotlin extension functions to improve code readability in an Android app.

  171. How do you approach writing unit tests for Kotlin code in Android applications?

  172. Explain the usage of higher-order functions in Kotlin with an example from your Android development experience.

  173. What are some best practices you follow to ensure Kotlin code is idiomatic and maintainable in Android apps?

  174. How do you manage memory in Swift and what techniques do you use to avoid retain cycles?

  175. Can you explain the difference between value types and reference types in Swift with examples?

  176. Describe how you would implement asynchronous network calls using Swift Concurrency.

  177. How do you handle error propagation and custom errors in Swift applications?

  178. Explain the use of protocols and protocol-oriented programming in Swift with a practical scenario.

  179. What debugging tools and techniques do you use to diagnose crashes and performance issues in Swift apps?

  180. How do you use Combine framework in iOS development to handle reactive programming?

  181. Discuss your experience integrating SwiftUI with UIKit in a hybrid iOS project.

  182. Can you explain the core principles of MVVM architecture and how it improves Android or iOS app maintainability?

  183. How does the unidirectional data flow in MVI architecture help in managing app state compared to MVVM?

  184. What are the main layers in Clean Architecture for mobile apps, and how do they interact?

  185. How would you implement data binding in an MVVM-based Android or iOS app?

  186. Describe how repository pattern fits into Clean Architecture in mobile development.

  187. In your experience, what are the advantages and disadvantages of using MVI over MVVM for complex apps?

  188. Can you outline how dependency injection can be used effectively in MVVM or Clean Architecture?

  189. How do you handle asynchronous data updates in an MVI architecture to ensure UI consistency?

  190. Describe the role of ViewModel in MVVM and how it differs from the Presenter in MVP.

  191. How would you structure unit tests across layers of a mobile app designed with Clean Architecture?

  192. What strategies do you use to prevent tight coupling between UI and business logic in MVVM or MVI?

  193. How do you implement offline storage in an Android app using Room or SQLite, and what are the pros and cons of each approach?

  194. Describe how Core Data can be used for offline persistence in iOS apps and how to handle data migrations.

  195. What strategies would you use to sync offline data with a remote server once the device regains connectivity?

  196. How would you handle conflict resolution when syncing offline changes from multiple devices in a mobile app?

  197. Explain how you would design a caching layer to improve app performance and maintain data consistency during offline use.

  198. Can you discuss your approach to managing data serialization and deserialization for offline storage in both Android and iOS?

  199. How do you test offline functionality and sync behaviors in mobile apps to ensure reliability and data integrity?

  200. What role do background tasks or services play in syncing offline data on Android and iOS platforms?

  201. How do you identify and fix memory leaks in an Android or iOS mobile app?

  202. What techniques do you use to minimize battery consumption in mobile apps while maintaining good performance?

  203. Explain how background tasks can impact battery life on mobile devices and how to mitigate negative effects.

  204. Describe how you use profiling tools to monitor and improve an app’s memory usage and CPU performance.

  205. What challenges arise when optimizing mobile apps for low-end devices with limited memory and processing power?

  206. How does efficient image loading and caching influence app performance and battery usage on mobile platforms?

  207. Can you explain the difference between strong, weak, and unowned references in iOS and their impact on memory management?

  208. What strategies do you implement to reduce app startup time while ensuring smooth rendering on both Android and iOS?

  209. How do you handle performance trade-offs when deciding between real-time data updates versus batch processing in a mobile app?

  210. What role does efficient thread and queue management play in ensuring optimal battery consumption on mobile apps?

  211. How do platform-specific differences in Android and iOS affect your approach to optimizing battery and memory usage?

  212. How do Flutter and React Native differ in their approach to rendering UI components on mobile devices?

  213. Can you explain the pros and cons of using cross-platform frameworks versus native development for Android and iOS apps?

  214. Describe how Flutter’s widget tree works and how it impacts app performance and state management.

  215. What strategies do you use to handle platform-specific code or features when working with React Native?

  216. How would you approach debugging a performance issue in a Flutter app that runs smoothly on iOS but lags on Android?

  217. Explain how React Native’s bridge mechanism works and its implications for app responsiveness and multi-threading.

  218. How do you ensure consistent UI/UX across iOS and Android devices when using React Native components?

  219. What considerations do you keep in mind when managing state in large-scale Flutter applications?

  220. How do you handle network connectivity changes in Android and iOS apps to ensure seamless user experience?

  221. Can you explain the difference between RESTful APIs and GraphQL, and when you would choose one over the other for a mobile app?

  222. Describe how you would implement secure API communication in a mobile app, focusing on authentication and data encryption.

  223. What strategies do you use to optimize network calls and reduce latency in mobile applications?

  224. How do you manage offline caching of API data in mobile apps, and what libraries or frameworks do you prefer?

  225. Could you walk me through error handling best practices when consuming APIs in Android and iOS apps?

  226. How do you design a mobile app to handle multiple concurrent API requests efficiently without degrading performance?

  227. Explain how you implement pagination when fetching data from APIs in both Android and iOS environments.

  228. What approach do you take to versioning APIs accessed by your mobile apps to maintain backward compatibility?

  229. How do you approach testing different screen sizes and resolutions on Android and iOS devices?

  230. Can you explain the differences between unit tests, UI tests, and integration tests for mobile apps?

  231. What tools and frameworks do you use for automated testing in Android and iOS development?

  232. Describe your experience with continuous integration and continuous deployment (CI/CD) pipelines for mobile apps.

  233. How do you manage and track different versions of mobile apps before release?

  234. Explain the process you follow to submit and release an app on the Google Play Store and Apple App Store.

  235. What strategies do you use to minimize crashes and bugs after releasing a mobile app update?

  236. How do you handle testing and releasing apps that require support for different OS versions?

  237. How do you ensure app store guidelines compliance during testing and release phases?

  238. Describe how you use crash reporting and analytics tools to improve mobile app quality post-release.

  239. Describe how you would optimize image loading in an Android or iOS app to avoid jank and excessive memory use.

  240. Explain the approach to detect and prevent memory leaks in a mobile app during runtime.

  241. Given a large dataset, how would you implement a search feature with autocomplete on a mobile device?

  242. How would you debug and fix a performance bottleneck caused by nested loops processing large collections in a mobile app?

  243. How do you implement a rate limiter to prevent excessive API calls in a mobile application?

Domain knowledge

  1. What is HealthKit?

  2. What is HomeKit?

  3. What features does Game Center offer for iOS games?

  4. What is the screen resolution of the iPhone 5, 6, 6+. and iPad Air 2?

  5. What units is the resolution measured in?

  6. Describe when a popover is most appropriate.

  7. What sort of content would be appropriate to place in a picker view?

  8. When are a label, text field and text view appropriate?

Show 15 more domain knowledge questions
  1. What does a segmented control do?

  2. What is a modal view?

  3. What is an iOS app icon? Describe it as best as you can.

  4. Can an app icon contain any transparency?

  5. How does a Newsstand icon differ from a regular app icon?

  6. Explain a launch image.

  7. Describe the role of animation in design of software.

  8. Describe the role of interactivity and feedback when designing software.

  9. What are some differences to take into account when building an iPhone app vs an iPad app?

  10. Describe the importance and role of prototyping when working on an app design.

  11. What is iTunes Connect?

  12. What is a provisioning profile?

  13. What is an App ID?

  14. What are the differences between Development and Production iOS signing certificates?

  15. When do purchase receipts need to be verified?

Behavioral

Motivation

  1. What excites or interests you about making software?

  2. Why did you choose Kotlin over Java for your Android projects, and what benefits have you experienced?

  3. What motivates you to specialize in iOS development with Swift over other mobile technologies?

  4. Why do you prefer working with Flutter or React Native over native development, and how has that preference affected your projects?

Other behavioral questions

  1. Describe the architecture of your last app.

  2. Do you have experience working with projects on GitHub?

  3. Do you contribute to any iOS open source projects on GitHub or a similar site?

  4. Can you describe your workflow when you work on creating an iOS app?

  5. What are some things you like about the developer tools you use?

  6. What would you change about Xcode?

  7. What are your favorite ways to investigate a new technology?

  8. Tell me about a challenging bug you debugged using Kotlin features or tools in an Android app.

Show 8 more other behavioral questions
  1. Tell me about a challenging Swift feature you learned recently and how you applied it in a project.

  2. Describe a situation you encountered where offline storage caused bugs or data loss, and how you identified and fixed the issue.

  3. Explain how you stay updated with best practices for offline storage and data synchronization in mobile development.

  4. Tell me about a time when you diagnosed and resolved a severe performance bottleneck related to network or database usage.

  5. Describe a challenging bug you encountered in a React Native project and how you resolved it.

  6. How do you keep up with evolving best practices and updates in cross-platform mobile development frameworks?

  7. Describe a situation where you had to debug a complex network issue in a mobile application; what tools and methods did you use?

  8. How do you keep up-to-date with evolving networking protocols and API standards relevant to mobile app development?

All interview questions

How this data is collected

By company

Shaped by a company.

More Mobile engineer questions, shaped by what each of these companies publicly builds.

Next

When the interview comes.

  • Transcribe

    Live transcription of a call, readable on any phone as it happens.

    Learn more
  • Interview copilot

    Suggested answers during your interview, from your resume and the role.

    Learn more