Learn several strategies of implementing the merge sort in Kotlin.
Here's what I've written (so far):
Baeldung on Kotlin
- Kotlin Strings (5)
- Kotlin Collections (4)
- Patterns (3)
- Libraries (2)
- Algorithms (2)
- Testing (1)
- Kotlin-Java Interop (1)
- Kotlin Numbers (1)
- Kotlin IO (1)
- Kotlin Functions (1)
- Kotlin Dates (1)
- Kotlin (1)
Explore a few variations of the quicksort algorithm in Kotlin.
Explore various techniques to determine if a character is alphabetic in Kotlin.
Learn several strategies for determining if a char is a consonant or vowel in Kotlin.
Explore how to manage complexity with the facade pattern in Kotlin.
Discover a few strategies for determining if a string is a palindrome in Kotlin.
The article introduces the Adapter Pattern in Kotlin, a design pattern that enables collaboration between classes with incompatible interfaces. We use an Audio Player example to demonstrate how the pattern works.
Learn how to apply the Chain of Responsibility pattern in Kotlin with a practical example.
Learn how to convert between binary and decimal numbers in Kotlin.
Learn strategies for verifying properties on objects inside of lists with Kotest.
Learn several strategies to convert Maps to Strings in Kotlin, including some techniques to create JSON representations.
Learn several ways of computing the difference between two lists in Kotlin.
Learn how to use Kotlin callback functions effectively.
Learn about Opt-in APIs in Kotlin, including how to use them and how to make your own.
Explore how to deserialize JSON to generic Kotlin objects with the Gson TypeToken.
This article explores various ways of converting Java code to Kotlin code, including using IntelliJ IDE or Android Studio, an online tool called JavaInUse, and the advantages of Kotlin over Java. It also discusses the limitations of each method and provides recommendations for when to use them.
Learn how to calculate the power of a number in different ways, using Kotlin.
While Kotlin provides many features that remove the need for Lombok, we may wish to use Lombok with Java classes in Kotlin. We look at how this is possible and its limitations.
Learn how data can be serialized using Kotlin’s kotlinx-serialization library.
Learn how to convert a date time string to Instant in Kotlin.
A quick and practical guide to serializing Kotlin classes to JSON with default values.
Learn how to use several common extension functions for strings in Kotlin.