Check whether a list is empty in Kotlin
This post will discuss different ways to check whether a list is empty in Kotlin. A list is empty if and only if it contains no elements.
Ace your Coding Interview
Get hired by top tech companies with our comprehensive interview preparation.
Get StartedThis post will discuss different ways to check whether a list is empty in Kotlin. A list is empty if and only if it contains no elements.
This post will discuss how to calculate the sum of all elements in an array in Kotlin.
This article explores different ways to find the current date and time in Kotlin.
This article explores different ways to find the date without time in Kotlin.
This post discusses grep utility and provides Java code to search exceptions in a huge log file on a Windows server. 1. On Unix Server It is really frustrating when your code crashes in production. It is even more frustrating when you’re trying to search for an exception in a huge application log file(s). To […]
This post will discuss how to convert a string to a Date in Kotlin.
This post will discuss how to remove the redundant delimiter from the end of a string in Kotlin.
This post will discuss how to remove leading and trailing whitespace from a string in Kotlin.
This post will check if a string starts with a number or not in Kotlin.
This post will discuss how to remove a prefix (or suffix) from a string in Kotlin.
This article explores different ways to remove duplicate adjacent whitespaces from a string in Kotlin.
This article explores different ways to remove given characters from a string in Kotlin.