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
c
java
cpp
c#
javascript
php
vb#
typescript
nodejs
go
rust
scala
swift
kotlin
pascal
ruby
html
vbnet
dart
r
css
bootstrap
win32
groovy
winapi
sql
mysql
jquery
pascal-string
lua
winforms
kotlin-string
cpp-string
c-string
swift-string
go-string
php-string
bash
java-string
c#-string
vbnet-string
python-string
cobol
rust-string
scala-string
javascript-string
cpp-vector
typescript-string
pascal-array
f#
opengl
c-array
swift-array
php-array
javascript-array
rust-vector
typescript-array
python-list
scala-array
reactjs
c-windows
nodejs-string
go-array
nodejs-array
kotlin-array
sdl2
cpp-matrix
cpp-array
c-matrix
sdl3
c#-list
vbnet-list
java-array
pascal-matrix
c#-array
swift-matrix
c#-matrix
go-slice
nodejs-express
character-code-ascii-unicode
kotlin-matrix
typescript-matrix
vbnet-array
angularjs
split-string-into-array-by-delimiter
transpose-matrix
binary-search-algorithm
dot-product-two-arrays
generate-random-floating-point-numbers
all-permutations-combinations
rust-matrix
go-matrix
kotlin-list
rot13
reverse-string-without-pecial-characters
all-dates-between-2-dates
first-repeated-character-string
difference-two-dates-seconds
get-n-digit-after-decimal-point-float
Disclosure:
My content contains affiliate links.
Recent questions tagged kotlin
43,835
questions
57,202
answers
573
users
Recent questions tagged kotlin
1
answer
106
views
How to check whether a floating-point variable is an integer (has no fractional part) in Kotlin
asked
Sep 10
by
avibootz
kotlin
kotlin-check-whether-floating-point-variable-is-integer
check-whether-floating-point-variable-is-integer
1
answer
93
views
How to generate all trigrams (3-character sequences) from a given word in Kotlin
asked
Sep 9
by
avibootz
kotlin
kotlin-generate-all-trigrams-given-word
generate-all-trigrams-given-word
1
answer
119
views
How to compare two float arrays using a tolerance in Kotlin
asked
Sep 8
by
avibootz
kotlin
kotlin-compare-two-float-arrays-tolerance
compare-two-float-arrays-tolerance
1
answer
125
views
How to split text without spaces into a list of words using dictionary-based segmentation in Kotlin
asked
Sep 8
by
avibootz
kotlin
kotlin-split-text-without-spaces-into-words-dictionary
split-text-without-spaces-into-words-dictionary
1
answer
122
views
How to convert numbers from 0 to 999,999,999,999,999 (up to 999 trillion) into English words in Kotlin
asked
Sep 6
by
avibootz
kotlin
kotlin-convert-numbers-0-999999999999999-english-words
convert-numbers-0-999999999999999-english-words
1
answer
116
views
How to parse a table into a binary tree in Kotlin
asked
Sep 5
by
avibootz
kotlin
kotlin-parse-table-into-binary-tree
parse-table-into-binary-tree
1
answer
132
views
How to declare, initialize, and print a medium complexity, varied, feature‑rich data structure in Kotlin
asked
Sep 3
by
avibootz
kotlin
kotlin-declare-initialize-print-medium-complexity-data-structure
declare-initialize-print-medium-complexity-data-structure
1
answer
115
views
How to sort a list of data classes that contain nested data classes using custom comparison logic in Kotlin
asked
Sep 2
by
avibootz
kotlin
kotlin-sort-list-of-data-classes-contain-nested-classes
sort-list-of-data-classes-contain-nested-classes
1
answer
123
views
How to find the N most frequent non‑stopwords in a text in Kotlin
asked
Aug 31
by
avibootz
kotlin
kotlin-n-most-frequent-non-stopwords-text
n-most-frequent-non-stopwords-text
1
answer
133
views
How to find the starting index of all occurrences of a word in a string in Kotlin
asked
Aug 30
by
avibootz
kotlin
kotlin-find-starting-index-all-occurrences-word-string
find-starting-index-all-occurrences-word-string
2
answers
161
views
How to split a string into words in Kotlin
asked
Aug 29
by
avibootz
kotlin
kotlin-split-string
kotlin-split-string-into-words
split-string-into-words
1
answer
106
views
How to convert any digital storage unit into all others (B, KB, MB, GB, TB, PB, EB, ZB, YB) in Kotlin
asked
Aug 28
by
avibootz
kotlin
kotlin-convert-any-digital-storage-unit-into-all-others
convert-any-digital-storage-unit-into-all-others
1
answer
129
views
How to write the Tic-Tac-Toe game in Kotlin
asked
Aug 27
by
avibootz
kotlin
kotlin-tic-tac-toe-game
tic-tac-toe-game
1
answer
128
views
How to generate a random RGBA color and opacity in Kotlin
asked
Aug 25
by
avibootz
kotlin
kotlin-generate-random-rgba-color-opacity
generate-random-rgba-color-opacity
1
answer
117
views
How to generate a series of unique HEX colors in Kotlin
asked
Aug 24
by
avibootz
kotlin
kotlin-generate-series-unique-hex-colors
generate-series-unique-hex-colors
2
answers
216
views
How to print the numbers 0 to 31 by changing 1 bit each time in Kotlin
asked
Aug 22
by
avibootz
kotlin
kotlin-print-0-31-changing-1-bit-each-time
print-0-31-changing-1-bit-each-time
1
answer
135
views
How to generate N random 1s in a zero-based matrix with Kotlin
asked
Aug 21
by
avibootz
kotlin
kotlin-generate-n-random-1-zero-based-matrix
generate-n-random-1-zero-based-matrix
1
answer
121
views
How to find all sequences of consecutive prime numbers whose sum equals N in Kotlin
asked
Aug 20
by
avibootz
kotlin
kotlin-all-sequences-consecutive-prime-numbers-sum-equal-n
all-sequences-consecutive-prime-numbers-sum-equal-n
1
answer
127
views
How to print the first 100 prime numbers in Kotlin
asked
Aug 18
by
avibootz
kotlin
kotlin-print-first-100-prime-numbers
print-first-100-prime-numbers
1
answer
169
views
How to initialize a list with a range of numbers in Kotlin
asked
Aug 18
by
avibootz
kotlin
initialize-list-range-of-numbers
1
answer
128
views
How to initialize an array with a range of numbers in Kotlin
asked
Aug 18
by
avibootz
kotlin
kotlin-initialize-array-range-of-numbers
initialize-array-range-of-numbers
1
answer
129
views
How to do modulo multiplication for 64‑bit values without using BigInteger in Kotlin
asked
Aug 16
by
avibootz
kotlin
kotlin-modulo-multiplication-64-bit-values-without-biginteger
1
answer
149
views
How to remove every N‑th element from an array in Kotlin
asked
Aug 16
by
avibootz
kotlin
kotlin-remove-every-n-element-list
remove-every-n-element-list
1
answer
158
views
How to remove every N‑th element from a list in Kotlin
asked
Aug 15
by
avibootz
kotlin
kotlin-remove-every-n-element-list
remove-every-n-element-list
1
answer
147
views
How to build sparse array in Kotlin
asked
Aug 15
by
avibootz
kotlin
kotlin-build-sparse-array
build-sparse-array
1
answer
133
views
How to get the first N digits of a BigInteger in Kotlin
asked
Aug 13
by
avibootz
kotlin
kotlin-get-first-n-digits-biginteger
get-first-n-digits-biginteger
2
answers
211
views
How to count the number of digits in an integer with Kotlin
asked
Aug 13
by
avibootz
kotlin
kotlin-count-digits-integer
count-digits-integer
1
answer
153
views
How to extract and sort numbers from a string containing numbers and text in Kotlin
asked
Aug 13
by
avibootz
kotlin
kotlin-extract-sort-numbers-string
extract-sort-numbers-string
1
answer
147
views
How to convert radians to degrees and degrees to radians in Kotlin
asked
Aug 12
by
avibootz
kotlin
kotlin-convert-radians-degrees-degrees-radians
convert-radians-degrees-degrees-radians
1
answer
152
views
How to find the N smallest values in a 2D array in Kotlin
asked
Aug 10
by
avibootz
kotlin
kotlin-find-n-smallest-values-2d-array
find-n-smallest-values-2d-array
1
answer
142
views
How to sort an array with a single loop in Kotlin
asked
Aug 8
by
avibootz
kotlin
kotlin-sort-array-with-single-loop
sort-array-with-single-loop
1
answer
142
views
How to remove extra whitespace from a string in Kotlin
asked
Aug 8
by
avibootz
kotlin
kotlin-remove-extra-whitespace-string
remove-extra-whitespace-string
1
answer
174
views
How to calculate the distance between two latitude-longitude points in Kotlin
asked
Aug 7
by
avibootz
kotlin
kotlin-distance-between-two-latitude-longitude-points
distance-between-two-latitude-longitude-points
1
answer
165
views
How to convert a decimal to integer in Kotlin
asked
Aug 6
by
avibootz
kotlin
kotlin-convert-decimal-number-to-rational-number
convert-decimal-number-to-rational-number
1
answer
154
views
How to calculate the volume of a cube in Kotlin
asked
Aug 4
by
avibootz
kotlin
kotlin-calculate-volume-cube
calculate-volume-cube
1
answer
158
views
How to remove duplicate words with Unicode characters from free‑text in Kotlin
asked
Aug 4
by
avibootz
kotlin
kotlin-remove-duplicate-words-unicode-free-text
remove-duplicate-words-unicode-free-text
1
answer
147
views
How to remove duplicate words from free‑text in Kotlin
asked
Aug 3
by
avibootz
kotlin
kotlin-remove-duplicate-words-from-free-text
remove-duplicate-words-from-free-text
1
answer
142
views
How to remove duplicate case‑insensitive words separated by multiple delimiters from a string in Kotlin
asked
Aug 2
by
avibootz
kotlin
kotlin-remove-duplicate-case-insensitive-words-multiple-delimiters-from-string
remove-duplicate-case-insensitive-words-multiple-delimiters-from-string
1
answer
149
views
How to perform high‑performance reversible text compression using a word dictionary in Kotlin
asked
Aug 1
by
avibootz
kotlin
kotlin-text-compression-using-word-dictionary
text-compression-using-word-dictionary
1
answer
152
views
How to traverse a slice from both sides at the same time in Kotlin
asked
Jul 31
by
avibootz
kotlin
kotlin-traverse-slice-both-sides-same-time
traverse-slice-both-sides-same-time
1
answer
149
views
How to generate random Powerball lottery numbers (pick 5 numbers from 1-69 + 1 Powerball from 1-26) in Kotlin
asked
Jul 30
by
avibootz
kotlin
kotlin-generate-random-powerball-lottery-numbers-5-of-1-69-and-1-of-1-26
generate-random-powerball-lottery-numbers-5-of-1-69-and-1-of-1-26
1
answer
152
views
How to compute the total number of Powerball lottery combinations (5 out of 99 and 1 out of 26) in Kotlin
asked
Jul 29
by
avibootz
kotlin
kotlin-compute-total-number-powerball-lottery-combinations-5-99-and-1-26
compute-total-number-powerball-lottery-combinations-5-99-and-1-26
1
answer
168
views
How to generate random lottery numbers for 6 numbers out of 37 and 1 power number out of 7 in Kotlin
asked
Jul 28
by
avibootz
kotlin
kotlin-generate-random-lottery-numbers-for-6-out-of-37-power-1-out-of-7
generate-random-lottery-numbers-for-6-out-of-37-power-1-out-of-7
1
answer
168
views
How to compute the total number of lottery combinations for choosing 6 out of 37 and 1 power out of 7 in Kotlin
asked
Jul 27
by
avibootz
kotlin
kotlin-total-lottery-combinations-choosing-6-out-of-37-power-1-out-of-7
total-lottery-combinations-choosing-6-out-of-37-power-1-out-of-7
1
answer
125
views
How to divide a given amount into bills (banknotes) and coins in Kotlin
asked
Jul 26
by
avibootz
kotlin
kotlin-divide-given-amount-into-bills-coins
divide-given-amount-into-bills-coins
1
answer
148
views
How to find the Nth set bit in a 32‑bit integer with Kotlin
asked
Jul 25
by
avibootz
kotlin
kotlin-find-n-set-bit-in-32-bit-integer
find-n-set-bit-in-32-bit-integer
1
answer
177
views
How to convert a decimal number to a rational number in Kotlin
asked
Jul 23
by
avibootz
kotlin
kotlin-convert-decimal-number-to-rational-number
convert-decimal-number-to-rational-number
1
answer
154
views
How to round an integer up to the nearest multiple of 'multiple' in Kotlin
asked
Jul 22
by
avibootz
kotlin
kotlin-round
kotlin-round-integer-up-nearest-multiple-of-multiple
round-integer-up-nearest-multiple-of-multiple
1
answer
161
views
How to find the minimal possible sum of two distinct elements in an array with Kotlin
asked
Jul 21
by
avibootz
kotlin
kotlin-minimal-sum-two-elements-array
minimal-sum-two-elements-array
1
answer
155
views
How to split a 32‑bit integer into its four bytes in Kotlin
asked
Jul 20
by
avibootz
kotlin
kotlin-split-32-bit-integer-into-four-bytes
split-32-bit-integer-into-four-bytes
Page:
« prev
1
2
3
4
5
6
7
...
18
next »
...