kotlin-coding-challenges icon indicating copy to clipboard operation
kotlin-coding-challenges copied to clipboard

🧩 Kotlin coding puzzle and solutions

Results 27 kotlin-coding-challenges issues
Sort by recently updated
recently updated
newest added

The solution in binarytree will never validate a right node as long as the left node is present, causing invalid trees with errors further to the right to count as...

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | com.adarshr.test-logger | `3.2.0` -> `4.0.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/com.adarshr.test-logger:com.adarshr.test-logger.gradle.plugin/4.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.adarshr.test-logger:com.adarshr.test-logger.gradle.plugin/4.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)...

This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.[View this repository on the Mend.io Web Portal](https://developer.mend.io/github/igorwojda/kotlin-coding-challenges). ## Config Migration Needed - [ ]...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | org.jetbrains.kotlin.jvm | `1.8.10` -> `1.9.22` | [![age](https://developer.mend.io/api/mc/badges/age/maven/org.jetbrains.kotlin.jvm/1.9.22?slim=true)](https://docs.renovatebot.com/merge-confidence/)...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/upload-artifact](https://togithub.com/actions/upload-artifact) | action | major | `v3` -> `v4` | ---...

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/setup-java](https://redirect.github.com/actions/setup-java) | action | major | `v3` -> `v4` | --- ### Release...

Here are some changes that fix some of the issues in these 3 tests: * AdvancedLRU (see #142) * LRUCache * AnyCallback (see #143) Note, it should be easy to...

This question needs redesigned as it enters the realm of "silly" when you can solve this in 1 line of code using `first(predicate)`, `none`, `any`, `find(predicate)`, etc. You'd have to...

The solution claims it is `O(1)` yet it is `O(log(N))` due to the PriorityQueue offer/poll complexity. And really would need to be `O(N)` because to update the `lastUsed` time it...

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/upload-artifact](https://redirect.github.com/actions/upload-artifact) | action | major | `v3` -> `v4` | --- ### Release...