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
html
ruby
dart
vbnet
r
css
bootstrap
win32
groovy
winapi
sql
mysql
jquery
pascal-string
lua
winforms
kotlin-string
cpp-string
c-string
swift-string
bash
go-string
php-string
c#-string
java-string
vbnet-string
cobol
python-string
rust-string
scala-string
javascript-string
cpp-vector
pascal-array
f#
opengl
typescript-string
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
swap-two-numbers-without-third
swap-two-numbers
mask-number-stars-except-last-4-digits
remove-characters-first-string-from-second-string
generate-8-digit-random-number
compare-two-dates
Disclosure:
My content contains affiliate links.
Recent questions tagged KOTLIN
43,500
questions
56,675
answers
573
users
Recent questions tagged KOTLIN
1
answer
25
views
How to sum the corners of a matrix in Kotlin
asked
1 day
ago
by
avibootz
kotlin
kotlin-matrix
kotlin-sum-corners-matrix
sum-corners-matrix
4
answers
57
views
How to swap two numbers without using a third variable (temp) in Kotlin
asked
3 days
ago
by
avibootz
kotlin
kotlin-swap-two-numbers
swap-two-numbers
kotlin-swap-two-numbers-without-third
swap-two-numbers-without-third
3
answers
55
views
How to rearrange an array into a zig-zag pattern (a < b > c < d > e < f > g) in Kotlin
asked
4 days
ago
by
avibootz
kotlin
kotlin-rearrange-array-zig-zag-pattern
rearrange-array-zig-zag-pattern
3
answers
49
views
How to compare floating-point values safely in Kotlin
asked
4 days
ago
by
avibootz
kotlin
kotlin-floating-point
kotlin-compare-floating-point-safely
compare-floating-point-safely
2
answers
61
views
How to generate a range of floating-point numbers in Kotlin
asked
5 days
ago
by
avibootz
kotlin
kotlin-floating-point
kotlin-generate-range-floating-point-numbers
generate-range-floating-point-numbers
3
answers
65
views
How to mask a number with stars except the last 4 digits in Kotlin
asked
6 days
ago
by
avibootz
kotlin
kotlin-mask-number-stars-except-last-4-digits
mask-number-stars-except-last-4-digits
4
answers
109
views
How to remove characters present in first string from the second string in Kotlin
asked
Oct 4
by
avibootz
kotlin
kotlin-string
kotlin-remove-characters-first-string-from-second-string
remove-characters-first-string-from-second-string
1
answer
59
views
How to generate an 8 digits random number in Kotlin
asked
Oct 3
by
avibootz
kotlin
kotlin-generate-8-digit-random-number
generate-8-digit-random-number
1
answer
55
views
How do you find the position of the most significant bit (MSB) of an unsigned integer in Kotlin
asked
Oct 1
by
avibootz
kotlin
kotlin-position-msb-integer
position-msb-integer
1
answer
62
views
How to use XOR to swap two characters in a string in Kotlin
asked
Sep 30
by
avibootz
kotlin
kotlin-xor-swap-two-characters-string
xor-swap-two-characters-string
1
answer
67
views
How to find the intersection of two arrays (values that exist in both arrays) in Kotlin
asked
Sep 29
by
avibootz
kotlin
kotlin-intersection-two-arrays
intersection-two-arrays
1
answer
64
views
How to check whether the letters of a word exist in a string (order doesn't matter) in Kotlin
asked
Sep 27
by
avibootz
kotlin
kotlin-letters-of-word-exist-in-string-order-doesnt-matter
letters-of-word-exist-in-string-order-doesnt-matter
1
answer
67
views
How to find the element with minimum occurrences in a list with Kotlin
asked
Sep 26
by
avibootz
kotlin
kotlin-element-minimum-occurrences-list
element-minimum-occurrences-list
1
answer
79
views
How to convert multiple date formats to YYYY-MM-DD in Kotlin
asked
Sep 25
by
avibootz
kotlin
kotlin-convert-convert-date-formats-to-yyyy-mm-dd
convert-convert-date-formats-to-yyyy-mm-dd
1
answer
60
views
How to sort a list of string‑based dates in Kotlin
asked
Sep 23
by
avibootz
kotlin
kotlin-sort-list-string-based-dates
sort-list-string-based-dates
1
answer
53
views
How to print a number with a thousand separator as spaces in Kotlin
asked
Sep 22
by
avibootz
kotlin
kotlin-number-thousand-separator-spaces
number-thousand-separator-spaces
1
answer
62
views
How to count the numbers with even number of digits in an array with Kotlin
asked
Sep 21
by
avibootz
kotlin
kotlin-count-numbers-even-number-of-digits-array
count-numbers-even-number-of-digits-array
1
answer
83
views
How to compare two dates in Kotlin
asked
Sep 20
by
avibootz
kotlin
kotlin-compare-two-dates
compare-two-dates
2
answers
111
views
How to extract the last N digits from a number in Kotlin
asked
Sep 18
by
avibootz
kotlin
kotlin-extract-last-n-digits-number
extract-last-n-digits-number
1
answer
89
views
How to extract all floating-point numbers from a string of words in Kotlin
asked
Sep 18
by
avibootz
kotlin
kotlin-extract-all-floating-point-numbers-string
extract-all-floating-point-numbers-string
1
answer
87
views
How to extract all digits from a string in Kotlin
asked
Sep 17
by
avibootz
kotlin
kotlin-extract-all-digits-string
extract-all-digits-string
1
answer
85
views
How to get the first digit of a float number in Kotlin
asked
Sep 15
by
avibootz
kotlin
kotlin-get-first-digit-float
get-first-digit-float
1
answer
85
views
How to compute the factorial of a number greater than 20 in Kotlin
asked
Sep 14
by
avibootz
kotlin
kotlin-compute-factorial-of-number-greater-20
compute-factorial-of-number-greater-20
1
answer
79
views
How to select N unique random values that appear exactly once in an existing array with Kotlin
asked
Sep 13
by
avibootz
kotlin
kotlin-n-unique-random-values-appear-once-in-array
n-unique-random-values-appear-once-in-array
1
answer
86
views
How to select N unique random indices from an existing array in Kotlin
asked
Sep 12
by
avibootz
kotlin
kotlin-select-n-unique-random-indices-array
select-n-unique-random-indices-array
1
answer
86
views
How to find common words in two strings with Kotlin
asked
Sep 11
by
avibootz
kotlin
kotlin-string
kotlin-find-common-words-two-strings
find-common-words-two-strings
1
answer
82
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
73
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
96
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
96
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
94
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
90
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
92
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
95
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
90
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
103
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
130
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
79
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
90
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
109
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
98
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
191
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
111
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
101
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
106
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
137
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
113
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
108
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
127
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
130
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
Page:
1
2
3
4
5
6
...
17
next »
...