CheatsheetKit

Language Pack · Mid

Kotlin Developer Pack

Null-safety, coroutines, functional style and Android/backend Kotlin questions.

Kotlin: coroutines, null-safety, collection APIs and idiomatic Android/backend Kotlin.

Questions
360
Topics
20
Pages
383

Get the Kotlin Developer Pack — $9 One-off. Delivered as a PDF by email the moment payment clears.

Prices shown are a USD base. Your local-market price is calculated at checkout in your own currency, plus any local sales tax.

What is inside

20 chapters, in the order the interviews tend to ask them:

  1. Null safety, nullable types and platform types
  2. Data classes, sealed hierarchies and exhaustive when
  3. Extension functions and the rules that resolve them
  4. Scope functions and the implicit receiver
  5. The collections API, sequences and lazy evaluation
  6. Coroutines and structured concurrency
  7. Flow, streams and cold versus hot
  8. Channels, actors and pipeline concurrency
  9. Inline functions, reified generics and the cost model
  10. Type inference and the places it stops
  11. DSL construction and builder patterns
  12. Destructuring declarations and component functions
  13. Function types, references and higher order design
  14. Java interoperability and the nullability boundary
  15. Testing coroutines and Flow
  16. Android architecture with the Jetpack libraries
  17. Kotlin on the JVM, the compiler and its runtime cost
  18. Multiplatform, expect and actual declarations
  19. Performance, boxing and allocation on Android
  20. Code style, linting and static analysis

How the answers are built

Each chapter opens with the checklist the question is really testing. A few from this pack:

Questions this pack covers

  1. What does the question mark in a Kotlin type actually mean?
  2. How does the safe call operator differ from an ordinary call?
  3. What does the data keyword actually generate for you?
  4. How do you produce a modified copy of a data class?
  5. How do you declare an extension function on a type of your own?
  6. What does the receiver type actually do inside the body?
  7. Which scope functions return the receiver instead of the lambda result?
  8. How do you write a block that runs only when the value is present?

Each one is answered in full in the pack, with the reasoning written out rather than a bullet list.

Related packs

About this pack

How many questions?
360, spread across 20 topics, written out in full across 383 pages.
Do the answers just list keywords?
No. Each answer is written as prose, because that is what you have to reproduce when someone asks you the question.
How do I get it?
Pay once and the PDF arrives by email immediately, with a signed download link.
Can I get it refunded?
Yes, if it is not what you expected. See the refund policy.