Shuffle a list in Kotlin
This article explores different ways to shuffle a list in Kotlin.
Ace your Coding Interview
Get hired by top tech companies with our comprehensive interview preparation.
Get StartedThis article explores different ways to shuffle a list in Kotlin.
Given an array in Kotlin, check if it is sorted or not. An array is sorted in natural order when every array element is greater than its previous element.
This article explores different ways to convert a list to a set in Kotlin. Assume that the list contains all distinct elements; otherwise, all duplicate values would be silently discarded.
This article explores different ways to get a key from a specified value in Kotlin Map. Assume no two keys have the same value.
This article explores different ways to determine whether a given string is alphanumeric in Kotlin. A string is called alphanumeric if it consists of only alphabets and numbers.
This article explores different ways to initialize a map in Kotlin.
This article explores different ways to convert a map in Kotlin to a list of key/value pairs.
A properties file consists of a set of key-value pairs. This article covers different ways to read or write values to the properties file in Kotlin.
This article explores different ways to conditionally remove elements from a Set in Kotlin.
This article explores different ways to check whether an array contains the specified value or not in Kotlin.
This post will discuss how to get a sublist of a list between two specified ranges in Kotlin.
This article covers different ways to read the contents of a file in Kotlin.