kotlin-coding-challenges
                                
                                 kotlin-coding-challenges copied to clipboard
                                
                                    kotlin-coding-challenges copied to clipboard
                            
                            
                            
                        🧩 Kotlin coding puzzle and solutions
This test will fail even though oooo is a valid palindrome and palindrome Permutation ```kotlin @Test fun `'oooo' a palindrome`() { isPermutationPalindrome("oooo") shouldBeEqualTo true } ``` solution should be ```kotlin...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | org.jetbrains.kotlin.jvm | `1.9.25` -> `2.1.21` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/)...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.jetbrains.kotlin:kotlin-compiler](https://kotlinlang.org/) ([source](https://redirect.github.com/JetBrains/kotlin)) | `1.9.25` -> `2.1.21` | [](https://docs.renovatebot.com/merge-confidence/) |...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | com.diffplug.spotless | `6.25.0` -> `7.0.4` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/)...
**Fix for below error that occurs on executing tests via intellij** Caused by: org.junit.platform.commons.JUnitException: OutputDirectoryProvider not available; probably due to unaligned versions of the junit-platform-engine and junit-platform-launcher jars on the...
This PR fixes the order of elements in the "2 smallest elements" test case to maintain the original sequence order. Changed: smallestElements(list, 2) shouldBeEqualTo listOf(3, 1) To: smallestElements(list, 2) shouldBeEqualTo...