Open Issues Need Help
View All on GitHubCollection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
AI Summary: Implement and test Kotlin extension functions for both String and a custom data type. The solution should be concise, idiomatic Kotlin code, and documented in the project's README.
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
AI Summary: Implement a Kotlin function that cleans an input string by trimming leading/trailing whitespace, removing repeated whitespace characters, and eliminating line breaks. The function should be added to the `snippets/strings` directory, with corresponding unit tests in `CleanInputTest.kt`, and the `snippets/strings/README.md` file should be updated to reflect the new function.
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
AI Summary: Implement a Kotlin function that replaces multiple consecutive spaces in a string with a single space. The function should be added to the `snippets/strings` directory, along with a corresponding test in `ReplaceMultipleSpacesTest.kt` and an update to the `README.md` file in the same directory.
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
AI Summary: Implement a Kotlin function that removes all punctuation from an input string. The function should be added to the `snippets/strings` directory, with corresponding unit tests in `RemovePunctuationTest.kt`, and the `README.md` file in that directory should be updated.
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
AI Summary: Implement a Kotlin function that takes a string as input and returns a map containing the frequency of each character in the string. The function should be added to the `snippets/strings` directory, and a corresponding test should be created in `CharFrequencyTest.kt`.
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
AI Summary: Implement a Kotlin function that flattens a nested list (list of lists) into a single, flat list using idiomatic Kotlin approaches. The function should be added to the `snippets/collections` directory, along with a corresponding unit test and an update to the directory's README.
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
AI Summary: Implement a Kotlin function that partitions a list into two sublists based on a given predicate. The function should be added to the `snippets/collections` directory, along with a corresponding test in `PartitionByPredicateTest.kt` and an update to the `README.md` file within that directory.
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
AI Summary: Implement a Kotlin function that groups a list of objects based on a specified property. This involves creating a new function within an existing Kotlin project, writing unit tests, and updating the project's README file.
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
AI Summary: Implement Kotlin functions to find the maximum and minimum values within a list of numbers, leveraging Kotlin's built-in functionalities. This involves creating the functions, writing unit tests, and updating the relevant README file.
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
AI Summary: Implement a Kotlin function that sorts a list of custom data class objects based on a specified field. The function should be added to the `snippets/collections` directory, along with a corresponding test case and updated README.
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
AI Summary: Implement a Kotlin function to remove duplicate elements from a list while preserving the original order, using idiomatic Kotlin features like `distinct()`. The function should be added to the `snippets/collections` directory, with corresponding unit tests in `RemoveDuplicatesTest.kt`, and the `README.md` file updated.
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
AI Summary: Implement a Kotlin function that checks if a given number is even and add it to the provided project's snippets directory. Update the relevant README file to reflect the addition.
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
AI Summary: Implement a Kotlin function that counts the digits of a non-negative integer and add it to an existing Kotlin code collection project. The function should be saved in the `snippets/numbers/DigitCount.kt` file, and the `snippets/numbers/README.md` file should be updated to reflect the addition.
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
AI Summary: Implement a Kotlin function that checks if a given integer is a prime number. The function should be added to the `snippets/numbers` directory within an existing Kotlin project, and the corresponding README file should be updated.
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
AI Summary: Implement a Kotlin extension function that capitalizes the first letter of a string only if it's a letter, and update the relevant README file.
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
AI Summary: Implement a Kotlin function that efficiently determines if a given string is a palindrome, ignoring case and non-alphanumeric characters. The function should be added to the `snippets/strings` directory within an existing Kotlin project, and the relevant README should be updated.
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
AI Summary: Implement a Quick Sort algorithm in Kotlin, utilizing Kotlin's features like list partitioning and immutability. The solution should be added to the existing `algorithms` directory and documented in the corresponding README.
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
AI Summary: Implement the Insertion Sort algorithm in Kotlin, adding it to an existing project's `algorithms` directory and updating the relevant README. The input is a list of integers, and the output should be a sorted list.
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
AI Summary: Implement a Selection Sort algorithm in Kotlin, adhering to idiomatic Kotlin style, and add it to the existing project's `algorithms` directory, updating the corresponding README file.
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜
AI Summary: Implement the Bubble Sort algorithm in Kotlin, adding it to an existing project's algorithms directory and updating the directory's README. The input is an unsorted list of integers, and the output should be a sorted list in ascending order. The code should follow idiomatic Kotlin style.
Collection of practical, idiomatic Kotlin code, including utilities, real-world code snippets, algorithms, and design patterns. Easy to use, easy to contribute 💜