Some solved problems from LeetCode on Kotlin.
Profile on LeetCode: fartem.
| Name | Link to LeetCode | Link to solution | Link to tests |
|---|---|---|---|
| 401. Binary Watch | Link | Link | Link |
| 495. Teemo Attacking | Link | Link | Link |
| 541. Reverse String II | Link | Link | Link |
| 575. Distribute Candies | Link | Link | Link |
| 598. Range Addition II | Link | Link | Link |
| 605. Can Place Flowers | Link | Link | Link |
| 661. Image Smoother | Link | Link | Link |
| 696. Count Binary Substrings | Link | Link | Link |
| 697. Degree of an Array | Link | Link | Link |
| 748. Shortest Completing Word | Link | Link | Link |
| 1656. Design an Ordered Stream | Link | Link | Link |
| 2016. Maximum Difference Between Increasing Elements | Link | Link | Link |
| 2586. Count the Number of Vowel Strings in Range | Link | Link | Link |
| 2595. Number of Even and Odd Bits | Link | Link | Link |
| 2644. Find the Maximum Divisibility Score | Link | Link | Link |
| 2733. Neither Minimum nor Maximum | Link | Link | Link |
| 2760. Longest Even Odd Subarray With Threshold | Link | Link | Link |
| 2828. Check if a String Is an Acronym of Words | Link | Link | Link |
| 2917. Find the K-or of an Array | Link | Link | Link |
| 2937. Make Three Strings Equal | Link | Link | Link |
| 2956. Find Common Elements Between Two Arrays | Link | Link | Link |
| 2965. Find Missing and Repeated Values | Link | Link | Link |
| 2980. Check if Bitwise OR Has Trailing Zeros | Link | Link | Link |
| 3074. Apple Redistribution into Boxes | Link | Link | Link |
| 3079. Find the Sum of Encrypted Integers | Link | Link | Link |
| 3174. Clear Digits | Link | Link | Link |
| 3194. Minimum Average of Smallest and Largest Elements | Link | Link | Link |
| 3222. Find the Winning Player in Coin Game | Link | Link | Link |
| 3392. Count Subarrays of Length Three With a Condition | Link | Link | Link |
| 3407. Substring Matching Pattern | Link | Link | Link |
| 3427. Sum of Variable Length Subarrays | Link | Link | Link |
| 3452. Sum of Good Numbers | Link | Link | Link |
| 3456. Find Special Substring of Length K | Link | Link | Link |
| 3492. Maximum Containers on a Ship | Link | Link | Link |
| 3502. Minimum Cost to Reach Every Position | Link | Link | Link |
| 3512. Minimum Operations to Make Array Sum Divisible by K | Link | Link | Link |
| 3545. Minimum Deletions for At Most K Distinct Characters | Link | Link | Link |
| 3550. Smallest Index With Digit Sum Equal to Index | Link | Link | Link |
| 3582. Generate Tag for Video Caption | Link | Link | Link |
| 3591. Check if Any Element Has Prime Frequency | Link | Link | Link |
| 3606. Coupon Code Validator | Link | Link | Link |
| 3622. Check Divisibility by Digit Sum and Product | Link | Link | Link |
| Name | Link to LeetCode | Link to solution | Link to tests |
|---|---|---|---|
| 6. Zigzag Conversion | Link | Link | Link |
| 18. 4Sum | Link | Link | Link |
| 31. Next Permutation | Link | Link | Link |
| 40. Combination Sum II | Link | Link | Link |
| 131. Palindrome Partitioning | Link | Link | Link |
| 1054. Distant Barcodes | Link | Link | Link |
| 1314. Matrix Block Sum | Link | Link | Link |
| 1980. Find Unique Binary String | Link | Link | Link |
| 2785. Sort Vowels in a String | Link | Link | Link |
| 3163. String Compression III | Link | Link | Link |
| 3169. Count Days Without Meetings | Link | Link | Link |
| 3446. Sort Matrix by Diagonals | Link | Link | Link |
| Name | Link to LeetCode | Link to solution | Link to tests |
|---|---|---|---|
| 37. Sudoku Solver | Link | Link | Link |
| 42. Trapping Rain Water | Link | Link | Link |