Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Kotlin Coding Practice: 85 Exercises and Mock Interviews
Role Play
New
Rating: 5.0 out of 5(3 ratings)
4 students

Kotlin Coding Practice: 85 Exercises and Mock Interviews

Practice Kotlin from basics to null safety, collections, OOP and coroutines, with a capstone and mock interviews
Created bySoundhar K
Last updated 11/2026
English

What you'll learn

  • Write idiomatic Kotlin from the basics: variables, types, control flow, functions and strings.
  • Use null safety, data classes and extension functions to write concise, safe code.
  • Work with collections and lambdas, including map, filter, group and fold operations.
  • Apply object-oriented and functional design with classes, interfaces, sealed classes and higher-order functions.
  • Build a capstone project that brings these skills together in a working program.
  • Explain your Kotlin solutions out loud in mock interviews for Android and backend roles.

Coding Exercises

This course includes our updated coding exercises so you can practice your skills as you learn.

See a demo
Image of coding exercise example

Course content

6 sections • 9 lectures • 32m total length
  • Introduction3:38
  • How this course works ?3:59
  • Kotlin essentials4:32

Requirements

  • No prior Kotlin or programming experience is required. Basic computer knowledge is enough.

Description

Kotlin rewards practice. Its features, from null safety to extension functions and collection operations, only start to feel natural once you've used them many times on real problems. Reading about them isn't the same as reaching for the right one when you're writing code.

This course is 85 hands-on Kotlin coding exercises in three tiers, a capstone project and five mock interview role plays, with short lectures to guide you. Every exercise runs in your browser and is checked automatically, so you know immediately whether your code works.

The exercises are short and focused, so you can finish one in a single sitting. They emphasize idiomatic Kotlin: replacing loops with collection operations, letting the type system catch nulls, and keeping code concise without making it hard to read.

What's inside

  • Beginner tier: variables and types, conditionals and when expressions, loops, functions and strings.
  • Intermediate tier: null safety, classes and data classes, collections, lambdas and extension functions.
  • Advanced tier: sealed classes, generics, higher-order functions, more complex collection work and coroutine basics.
  • Capstone project: a larger program that combines skills from all three tiers.
  • Mock interviews: role plays where you explain your Kotlin solutions and handle follow-up questions.

Why the capstone and mock interviews matter

Exercises build individual skills. The capstone makes you combine them into one program, where structure starts to matter: how you model data, where you put logic and how you handle errors. The mock interviews then give you practice explaining that kind of code out loud, answering follow-up questions and defending your choices, which is the part of a technical interview that's hardest to rehearse alone.

How to use the course

If you're new to Kotlin, work through the tiers in order. If you're coming from Java, skim the beginner tier and spend most of your time on the intermediate and advanced exercises, where Kotlin differs most. Try each exercise before using hints, and redo misses the next day. Do the mock interviews when you're preparing for applications.

Who it's for

Android developers, Java developers switching to Kotlin, backend developers using Kotlin on the server, students learning a modern language, and anyone preparing for a Kotlin interview. No prior Kotlin experience is needed.

What you need

A browser. All exercises run in the course's built-in coding editor, so there's nothing to install.

Who this course is for:

  • Beginners who want to learn Kotlin programming through simple coding exercises and practical examples.