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
8
views
How to find the two largest elements in a list with Kotlin
asked
12 hours
ago
by
avibootz
kotlin
kotlin-two-largest-elements-list
two-largest-elements-list
1
answer
7
views
How to find the smallest and largest digits in a number in Kotlin
asked
15 hours
ago
by
avibootz
kotlin
kotlin-smallest-largest-digits-number
smallest-largest-digits-number
1
answer
18
views
How to reverse a string without affecting special characters in Kotlin
asked
2 days
ago
by
avibootz
kotlin
kotlin-reverse-string-without-pecial-characters
reverse-string-without-pecial-characters
1
answer
13
views
How to implement the ROT13 algorithm (replace a letter with the 13th letter after it) in Kotlin
asked
2 days
ago
by
avibootz
kotlin
kotlin-implement-rot13-algorithm
implement-rot13-algorithm
rot13
1
answer
23
views
How to get the number of months between two dates in Kotlin
asked
3 days
ago
by
avibootz
kotlin
kotlin-months-between-two-dates-months
months-between-two-dates-months
1
answer
37
views
How to get all dates between 2 dates in Kotlin
asked
4 days
ago
by
avibootz
kotlin
kotlin-all-dates-between-2-dates
all-dates-between-2-dates
1
answer
27
views
How to find the last repeated character in a string with Kotlin
asked
5 days
ago
by
avibootz
kotlin
kotlin-last-repeated-character-string
last-repeated-character-string
1
answer
35
views
How to access static properties in an object in Kotlin
asked
6 days
ago
by
avibootz
kotlin
kotlin-access-static-properties-in-object
access-static-properties-in-object
1
answer
41
views
How to find three consecutive numbers with the largest sum in a list of integers in Kotlin
asked
Oct 30
by
avibootz
kotlin
kotlin-three-consecutive-numbers-largest-sum-list
three-consecutive-numbers-largest-sum-list
2
answers
54
views
How to generate 7 random numbers out of 33 (1-33) in Kotlin
asked
Oct 29
by
avibootz
kotlin
kotlin-generate-7-random-numbers-1-33
generate-7-random-numbers-1-33
1
answer
54
views
How to calculate the largest positive integer in a 64-bit system in Kotlin
asked
Oct 26
by
avibootz
kotlin
kotlin-largest-positive-integer-64-bit
largest-positive-integer-64-bit
1
answer
57
views
How to get and use a hash code for an array of integers in Kotlin
asked
Oct 25
by
avibootz
kotlin
kotlin-get-use-hash-code-array-integers
get-use-hash-code-array-integers
2
answers
77
views
How to sort a map first by value, then by key in Kotlin
asked
Oct 24
by
avibootz
kotlin
kotlin-sort-map-value-key
sort-map-value-key
1
answer
50
views
How to find the maximum distance between two numbers in a slice with Kotlin
asked
Oct 23
by
avibootz
kotlin
kotlin-maximum-distance-two-numbers-slice
maximum-distance-two-numbers-slice
1
answer
54
views
How to find the minimum distance between two numbers in an array with Kotlin
asked
Oct 22
by
avibootz
kotlin
kotlin-minimum-distance-two-numbers-array
minimum-distance-two-numbers-array
1
answer
70
views
How to compute the total number of combinations when choosing 7 numbers out of 33 in Kotlin
asked
Oct 20
by
avibootz
kotlin
kotlin-total-combinations-choosing-7-out-of-33
total-combinations-choosing-7-out-of-33
6
answers
192
views
How to format a string using fixed-width fields in Kotlin
asked
Oct 18
by
avibootz
kotlin
kotlin-string
kotlin-format-string-fixed-width-fields
format-string-fixed-width-fields
3
answers
93
views
How to print the bits of a character in Kotlin
asked
Oct 16
by
avibootz
kotlin
kotlin-print-bits-character
print-bits-character
1
answer
78
views
How to get the Nth digit after the decimal point of a floating-point number in Kotlin
asked
Oct 15
by
avibootz
kotlin
kotlin-get-n-digit-after-decimal-point-float
get-n-digit-after-decimal-point-float
1
answer
82
views
How to get the Nth digit of a number from the right with BigInt support in Kotlin
asked
Oct 14
by
avibootz
kotlin
kotlin-get-n-digit-of-number-from-right-bigint
get-n-digit-of-number-from-right-bigint
1
answer
70
views
How to get the Nth digit of a number from the left with BigInt support in Kotlin
asked
Oct 14
by
avibootz
kotlin
kotlin-get-n-digit-of-number-from-left-bigint
get-n-digit-of-number-from-left-bigint
1
answer
72
views
How to get the Nth digit of a number in Kotlin
asked
Oct 14
by
avibootz
kotlin
kotlin-get-n-digit-of-number
get-n-digit-of-number
1
answer
89
views
How to get the Nth digit of a number from the right in Kotlin
asked
Oct 14
by
avibootz
kotlin
get-n-digit-of-number-from-right
3
answers
139
views
How to remove file extension in Kotlin
asked
Oct 13
by
avibootz
kotlin
kotlin-remove-file-extension
remove-file-extension
1
answer
131
views
How to sum the corners of a matrix in Kotlin
asked
Oct 11
by
avibootz
kotlin
kotlin-matrix
kotlin-sum-corners-matrix
sum-corners-matrix
4
answers
217
views
How to swap two numbers without using a third variable (temp) in Kotlin
asked
Oct 9
by
avibootz
kotlin
kotlin-swap-two-numbers
swap-two-numbers
kotlin-swap-two-numbers-without-third
swap-two-numbers-without-third
3
answers
150
views
How to rearrange an array into a zig-zag pattern (a < b > c < d > e < f > g) in Kotlin
asked
Oct 8
by
avibootz
kotlin
kotlin-rearrange-array-zig-zag-pattern
rearrange-array-zig-zag-pattern
3
answers
128
views
How to compare floating-point values safely in Kotlin
asked
Oct 8
by
avibootz
kotlin
kotlin-floating-point
kotlin-compare-floating-point-safely
compare-floating-point-safely
2
answers
127
views
How to generate a range of floating-point numbers in Kotlin
asked
Oct 7
by
avibootz
kotlin
kotlin-floating-point
kotlin-generate-range-floating-point-numbers
generate-range-floating-point-numbers
3
answers
125
views
How to mask a number with stars except the last 4 digits in Kotlin
asked
Oct 6
by
avibootz
kotlin
kotlin-mask-number-stars-except-last-4-digits
mask-number-stars-except-last-4-digits
4
answers
212
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
101
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
84
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
91
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
90
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
90
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
86
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
128
views
How to convert multiple date formats to YYYY-MM-DD in Kotlin
asked
Sep 25
by
avibootz
kotlin
kotlin-convert-date-formats-to-yyyy-mm-dd
convert-date-formats-to-yyyy-mm-dd
1
answer
88
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
75
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
87
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
112
views
How to compare two dates in Kotlin
asked
Sep 20
by
avibootz
kotlin
kotlin-compare-two-dates
compare-two-dates
2
answers
155
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
117
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
106
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
107
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
118
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
114
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
110
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
109
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
Page:
1
2
3
4
5
6
...
18
next »
...