Remember
Register
Search With
Seek4Info.com
Programming & Software Q&A | CollectiveSolver
Questions
Tags
Users
Welcome to collectivesolver - Programming & Software Q&A with code examples. A website with trusted programming answers. All programs are tested and work.
Contact: aviboots(AT)netvision.net.il
Most popular tags
python
java
c
c#
cpp
javascript
php
vb#
typescript
nodejs
go
rust
scala
swift
kotlin
pascal
html
dart
ruby
r
css
bootstrap
win32
groovy
winapi
sql
mysql
jquery
pascal-string
lua
winforms
kotlin-string
bash
swift-string
c-string
cpp-string
go-string
c#-string
php-string
java-string
vbnet-string
rust-string
python-string
cpp-vector
f#
opengl
scala-string
javascript-string
pascal-array
c-array
swift-array
typescript-string
cobol
php-array
javascript-array
rust-vector
vbnet
typescript-array
python-list
reactjs
scala-array
c-windows
nodejs-string
go-array
kotlin-array
nodejs-array
sdl2
cpp-matrix
c-matrix
cpp-array
c#-list
vbnet-list
pascal-matrix
go-slice
c#-array
java-array
nodejs-express
character-code-ascii-unicode
swift-matrix
c#-matrix
sdl3
angularjs
generate-random-floating-point-numbers
all-permutations-combinations
kotlin-matrix
typescript-matrix
vbnet-array
kotlin-list
create-infinite-loop
rust-matrix
go-matrix
javascript-matrix
raylib
glfw
represent-boolean-true-false
different-functions-check-number-power-of-2
get-last-word-string
remove-last-word-string
calculate-surface-area-cuboid
remove-last-occurrence-word-string
Disclosure:
My content contains affiliate links.
Recent questions tagged kotlin
40,695
questions
53,044
answers
573
users
Recent questions tagged kotlin
7
answers
4
views
How to copy a string in Kotlin
asked
1 hour
ago
by
avibootz
kotlin
kotlin-copy-string
copy-string
1
answer
18
views
How to represent the Boolean "true" and "false" in Kotlin
asked
2 days
ago
by
avibootz
kotlin
kotlin-represent-boolean-true-false
represent-boolean-true-false
1
answer
18
views
How to calculate relative past time from a given date & time (e.g., 3 hours ago, 5 days ago, a month ago) in Kotlin
asked
3 days
ago
by
avibootz
kotlin
kotlin-calculate-relative-past-time-date-time
calculate-relative-past-time-date-time
1
answer
18
views
How to convert a BigDecimal to a double in Kotlin
asked
4 days
ago
by
avibootz
kotlin
kotlin-convert-bigdecimal-double
convert-bigdecimal-double
2
answers
14
views
How to convert a decimal string to a double in Kotlin
asked
4 days
ago
by
avibootz
kotlin
kotlin-convert-decimal-string-double
convert-decimal-string-double
1
answer
13
views
How to convert a float to a double in Kotlin
asked
4 days
ago
by
avibootz
kotlin
kotlin-convert-float-double
convert-float-double
1
answer
17
views
How to create an infinite loop using while true with a delay in Kotlin
asked
5 days
ago
by
avibootz
kotlin
kotlin-create-infinite-loop-with-delay
create-infinite-loop-with-delay
3
answers
23
views
How to create an infinite loop in Kotlin
asked
5 days
ago
by
avibootz
kotlin
kotlin-create-infinite-loop
create-infinite-loop
1
answer
19
views
How to add a new interval into a sorted list of non‑overlapping intervals in Kotlin
asked
Apr 9
by
avibootz
kotlin
kotlin-add-interval-into-sorted-list-non-overlapping-intervals
add-interval-into-sorted-list-non-overlapping-intervals
1
answer
24
views
How to detect whether any intervals overlap in a list of start and end times with Kotlin
asked
Apr 9
by
avibootz
kotlin
kotlin-detect-intervals-overlap-list-start-end-times
detect-intervals-overlap-list-start-end-times
1
answer
23
views
How to print text diagonally from left to right recursively in Kotlin
asked
Apr 8
by
avibootz
kotlin
kotlin-print-text-diagonally-from-left-to-right-recursively
print-text-diagonally-from-left-to-right-recursively
1
answer
20
views
How to print text diagonally from left to right in Kotlin
asked
Apr 8
by
avibootz
kotlin
kotlin-print-text-diagonally-from-left-to-right
print-text-diagonally-from-left-to-right
1
answer
26
views
How to find the k biggest values from a list in Kotlin
asked
Apr 6
by
avibootz
kotlin
kotlin-k-biggest-values-list
k-biggest-values-list
1
answer
34
views
How to find the maximum value we can achieve by picking k elements from a list in Kotlin
asked
Apr 6
by
avibootz
kotlin
kotlin-maximum-value-k-elements-list
maximum-value-k-elements-list
1
answer
25
views
How to reverse the bits of a number in Kotlin
asked
Apr 4
by
avibootz
kotlin
kotlin-reverse-bits-number
reverse-bits-number
1
answer
20
views
How to check whether only 2 bits in a number at a specific position are on (edge‑case‑safe) with Kotlin
asked
Apr 4
by
avibootz
kotlin
kotlin-check-2-number-bits-specific-position-on-edge-case-safe
check-2-number-bits-specific-position-on-edge-case-safe
1
answer
26
views
How to toggle a bit at specific position in Kotlin
asked
Apr 3
by
avibootz
kotlin
kotlin-toggle-bit-specific-position
toggle-bit-specific-position
1
answer
24
views
How to write 4 different functions that check if a number is a power of 2 in Kotlin
asked
Apr 2
by
avibootz
kotlin
kotlin-different-functions-check-number-power-of-2
different-functions-check-number-power-of-2
1
answer
22
views
How to write 6 different functions that accept 5 or 7 and return the other number, without using if,switch in Kotlin
asked
Apr 1
by
avibootz
kotlin
kotlin-different-functions-accept-5-7-return-other-number
different-functions-accept-5-7-return-other-number
1
answer
33
views
How to copy bits from M into N (numbers) between bit positions i and j (edge‑case‑safe) in Kotlin
asked
Mar 31
by
avibootz
kotlin
kotlin-bits
kotlin-copy-bits-m-into-n-between-positions-edge-case-safe
copy-bits-m-into-n-between-positions-edge-case-safe
1
answer
34
views
How to get the word before the last word from a string (edge‑case‑safe) in Kotlin
asked
Mar 29
by
avibootz
kotlin
kotlin-string
kotlin-get-word-before-last-string-edge-case-safe
get-word-before-last-string-edge-case-safe
1
answer
33
views
How to find the median among three given numbers in Kotlin
asked
Mar 26
by
avibootz
kotlin
kotlin-median-among-three-given-numbers
median-among-three-given-numbers
1
answer
30
views
How to find the smallest number greater than a given number, using the same digits in Kotlin
asked
Mar 26
by
avibootz
kotlin
kotlin-smallest-number-greater-given-number-same-digits
smallest-number-greater-given-number-same-digits
1
answer
29
views
How to produce a sequential count in octal, starting at zero in Kotlin
asked
Mar 24
by
avibootz
kotlin
kotlin-sequential-count-octal
sequential-count-octal
1
answer
29
views
How to remove item by key from a collection of key-value pairs (associative array) in Kotlin
asked
Mar 23
by
avibootz
kotlin
kotlin-remove-item-by-key-collection-key-value-pairs
remove-item-by-key-collection-key-value-pairs
6
answers
63
views
How to iterate over a collection of key-value pairs (associative array) in Kotlin
asked
Mar 23
by
avibootz
kotlin
kotlin-iterate-collection-key-value-pairs
iterate-collection-key-value-pairs
1
answer
28
views
How to write custom callback function to an array (apply a function to each element) in Kotlin
asked
Mar 21
by
avibootz
kotlin
kotlin-custom-callback-function-to-array
custom-callback-function-to-array
2
answers
29
views
How to apply a callback to an array (apply a function to each element) in Kotlin
asked
Mar 21
by
avibootz
kotlin
kotlin-callback-to-array
callback-to-array
1
answer
33
views
How to calculate the Ethiopian multiplication in Kotlin
asked
Mar 17
by
avibootz
kotlin
kotlin-ethiopian-multiplication
ethiopian-multiplication
1
answer
31
views
How to calculate the percentage change between two values in Kotlin
asked
Mar 16
by
avibootz
kotlin
kotlin-percentage-change-between-two-values
percentage-change-between-two-values
1
answer
30
views
How to write the 7 Boom game. If a number is divided by 7 or includes the digit 7, the user writes Boom in Kotlin
asked
Mar 15
by
avibootz
kotlin
kotlin-7-boom-game
7-boom-game
1
answer
24
views
How to find the longest shared prefix among all words in a string with Kotlin
asked
Mar 14
by
avibootz
kotlin
kotlin-longest-shared-prefix-words-string
longest-shared-prefix-words-string
2
answers
35
views
How to group words in a string by the first N letters in Kotlin
asked
Mar 13
by
avibootz
kotlin
kotlin-group-words-string-first-n-letter
group-words-string-first-n-letter
1
answer
47
views
How to find the longest common prefix of all the words in a string with Kotlin
asked
Mar 12
by
avibootz
kotlin
kotlin-longest-common-prefix-all-words-string
longest-common-prefix-all-words-string
1
answer
41
views
How to split a string on multiple multi‑character delimiters (and keep them) in Kotlin
asked
Mar 10
by
avibootz
kotlin
kotlin-split-string-multiple-multi-character-delimiters
split-string-multiple-multi-character-delimiters
1
answer
32
views
How to split a string on multiple single‑character delimiters (and keep them) in Kotlin
asked
Mar 9
by
avibootz
kotlin
kotlin-split-string-multiple-single-character-delimiters
split-string-multiple-single-character-delimiters
1
answer
35
views
How to find missing alphabet characters from a string in Kotlin
asked
Mar 8
by
avibootz
kotlin
kotlin-missing-alphabet-characters-string
missing-alphabet-characters-string
1
answer
34
views
How to remove all adjacent duplicate characters from a string until no more can be removed in Kotlin
asked
Mar 7
by
avibootz
kotlin
kotlin-remove-adjacent-duplicate-characters-string
remove-adjacent-duplicate-characters-string
1
answer
39
views
How to reverse only the alphabetic characters in a string, keeping other characters in place with Kotlin
asked
Mar 6
by
avibootz
kotlin
kotlin-reverse-only-alphabetic-characters
reverse-only-alphabetic-characters
2
answers
45
views
How to calculate the remainder in Kotlin
asked
Mar 4
by
avibootz
kotlin
kotlin-calculate-remainder
calculate-remainder
1
answer
30
views
How to calculate the surface area of cuboid in Kotlin
asked
Mar 3
by
avibootz
kotlin
kotlin-cuboid
kotlin-calculate-surface-area-cuboid
calculate-surface-area-cuboid
1
answer
36
views
How to find the longest word in a string with Kotlin
asked
Mar 3
by
avibootz
kotlin
kotlin-string
kotlin-longest-word-in-string
longest-word-in-string
1
answer
27
views
How to check if a string contains only 0 and 1 and is divisible by 7 in Kotlin
asked
Mar 1
by
avibootz
kotlin
kotlin-string-contains-only-0-and-1-is-divisible-by-7
string-contains-only-0-and-1-is-divisible-by-7
1
answer
32
views
How to check if every digit in a number appears only once in Kotlin
asked
Feb 27
by
avibootz
kotlin
kotlin-check-digits-number-appears-once
check-digits-number-appears-once
1
answer
30
views
How to check if a number is pandigital in Kotlin
asked
Feb 25
by
avibootz
kotlin
kotlin-check-number-pandigitaln
check-number-pandigitaln
1
answer
31
views
How to find all happy numbers in a specific range with Kotlin
asked
Feb 25
by
avibootz
kotlin
kotlin-find-happy-numbers-in-specific-range
find-happy-numbers-in-specific-range
1
answer
33
views
How to check if a number is a happy number in Kotlin
asked
Feb 24
by
avibootz
kotlin
kotlin-check-if-number-is-happy-number
check-if-number-is-happy-number
2
answers
55
views
How to remove newlines from a string Kotlin
asked
Feb 22
by
avibootz
kotlin
kotlin-remove-newlines-from-string
remove-newlines-from-string
1
answer
30
views
How to convert a number to any base in Kotlin
asked
Feb 21
by
avibootz
kotlin
kotlin-convert-number-to-any-base
convert-number-to-any-base
1
answer
44
views
How to count uppercase, lowercase, special characters, and numeric values using RegEx in Kotlin
asked
Feb 20
by
avibootz
kotlin
kotlin-count-uppercase-lowercase-special-characters-numeric-regex
count-uppercase-lowercase-special-characters-numeric-regex
Page:
1
2
3
4
5
6
...
14
next »
...