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
cpp
c#
javascript
php
vb#
typescript
nodejs
go
rust
scala
swift
kotlin
pascal
html
ruby
dart
r
css
bootstrap
win32
groovy
winapi
sql
mysql
jquery
vbnet
pascal-string
lua
winforms
kotlin-string
bash
c-string
swift-string
cpp-string
go-string
c#-string
php-string
java-string
vbnet-string
cobol
rust-string
python-string
cpp-vector
f#
opengl
scala-string
javascript-string
pascal-array
swift-array
typescript-string
c-array
php-array
javascript-array
rust-vector
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
binary-search-algorithm
generate-random-floating-point-numbers
all-permutations-combinations
kotlin-matrix
typescript-matrix
vbnet-array
kotlin-list
exabyte-constant
petabyte-constant
terabyte-constant
math-functions-constants
dot-product-two-arrays
string-to-title-case
create-infinite-loop
rust-matrix
go-matrix
javascript-matrix
raylib
Disclosure:
My content contains affiliate links.
Recent questions tagged kotlin
41,157
questions
53,647
answers
573
users
Recent questions tagged kotlin
1
answer
4
views
How to calculate the 100th term of the sequence 8, 64, 80, 136, 152 in Kotlin
asked
6 hours
ago
by
avibootz
kotlin
kotlin-calculate-100th-term-of-sequence-8-64-80-136-152
calculate-100th-term-of-sequence-8-64-80-136-152
1
answer
9
views
How to convert an array of multi‑digit numbers to a number in Kotlin
asked
1 day
ago
by
avibootz
kotlin
kotlin-array-multi-digit-numbers-to-number
array-multi-digit-numbers-to-number
1
answer
17
views
How to get accurate ticks from a timer (high‑resolution timer) in Kotlin
asked
3 days
ago
by
avibootz
kotlin
kotlin-accurate-ticks-timer
accurate-ticks-timer
1
answer
21
views
How to calculate the CRC32 of a string in Kotlin
asked
4 days
ago
by
avibootz
kotlin
kotlin-calculate-crc32-string
calculate-crc32-string
1
answer
17
views
How to create a sorted unique list from a matrix in Kotlin
asked
5 days
ago
by
avibootz
kotlin
kotlin-sorted-unique-array-from-matrix
sorted-unique-array-from-matrix
1
answer
22
views
How to create a common sorted unique array from 3 integer arrays in Kotlin
asked
6 days
ago
by
avibootz
kotlin
kotlin-common-sorted-unique-array-from-arrays
common-sorted-unique-array-from-arrays
1
answer
21
views
How to convert an integer into its written‑out English words in Kotlin
asked
May 5
by
avibootz
kotlin
kotlin-convert-integer-english-words
convert-integer-english-words
1
answer
25
views
How to calculate all the less than 500 additive prime numbers in Kotlin
asked
May 4
by
avibootz
kotlin
kotlin-calculate-additive-prime
calculate-additive-prime
1
answer
22
views
How to define a terabyte constant in Kotlin
asked
May 3
by
avibootz
kotlin
kotlin-terabyte-constant
terabyte-constant
1
answer
20
views
How to define an exabyte constant in Kotlin
asked
May 3
by
avibootz
kotlin
kotlin-exabyte-constant
exabyte-constant
1
answer
32
views
How to define a petabyte constant in Kotlin
asked
May 3
by
avibootz
kotlin
kotlin-petabyte-constant
petabyte-constant
1
answer
25
views
How to hash a string with SHA-256 in Kotlin
asked
May 2
by
avibootz
kotlin
kotlin-hash-string-sha-256
hash-string-sha-256
1
answer
30
views
How to use math functions and constants in Kotlin
asked
Apr 30
by
avibootz
kotlin
kotlin-math-functions-constants
math-functions-constants
5
answers
49
views
How to create a function with an optional parameter in Kotlin
asked
Apr 29
by
avibootz
kotlin
kotlin-function-optional-parameter
function-optional-parameter
1
answer
30
views
How to reconstruct a full sparse matrix from a compact (triplet) matrix in Kotlin
asked
Apr 27
by
avibootz
kotlin
kotlin-reconstruct-sparse-matrix-from-compact-triplet-matrix
reconstruct-sparse-matrix-from-compact-triplet-matrix
1
answer
32
views
How to express a decimal number as a fixed-length string with leading zeros in Kotlin
asked
Apr 26
by
avibootz
kotlin
kotlin-decimal-number-to-string-leading-zeros
decimal-number-to-string-leading-zeros
1
answer
22
views
How to create an enumeration of constants with and without explicit values in Kotlin
asked
Apr 25
by
avibootz
kotlin
kotlin-create-enumeration-with-without-values
create-enumeration-with-without-values
1
answer
39
views
How to compact a sparse matrix in Kotlin
asked
Apr 24
by
avibootz
kotlin
kotlin-compact-sparse-matrix
compact-sparse-matrix
1
answer
33
views
How to search for a word in a grid of characters with Kotlin
asked
Apr 23
by
avibootz
kotlin
kotlin-search
kotlin-grid
kotlin-search-word-grid-characters
search-word-grid-characters
5
answers
50
views
How to create a generic method in Kotlin
asked
Apr 22
by
avibootz
kotlin
kotlin-create-generic-method
create-generic-method
1
answer
37
views
How to localize date format in Kotlin
asked
Apr 20
by
avibootz
kotlin
kotlin-localize-date-format
localize-date-format
1
answer
38
views
How to get the number of days needed to wait after a day (a[i]) gets warmer given a list of temperatures in Kotlin
asked
Apr 18
by
avibootz
kotlin
kotlin-daily-temperatures-days-wait-gets-warmer
daily-temperatures-days-wait-gets-warmer
1
answer
37
views
How to check if a string is title case in Kotlin
asked
Apr 17
by
avibootz
kotlin
kotlin-check-string-title-case
check-string-title-case
7
answers
54
views
How to copy a string in Kotlin
asked
Apr 17
by
avibootz
kotlin
kotlin-copy-string
copy-string
1
answer
33
views
How to represent the Boolean "true" and "false" in Kotlin
asked
Apr 15
by
avibootz
kotlin
kotlin-represent-boolean-true-false
represent-boolean-true-false
1
answer
40
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
Apr 13
by
avibootz
kotlin
kotlin-calculate-relative-past-time-date-time
calculate-relative-past-time-date-time
1
answer
39
views
How to convert a BigDecimal to a double in Kotlin
asked
Apr 12
by
avibootz
kotlin
kotlin-convert-bigdecimal-double
convert-bigdecimal-double
2
answers
30
views
How to convert a decimal string to a double in Kotlin
asked
Apr 12
by
avibootz
kotlin
kotlin-convert-decimal-string-double
convert-decimal-string-double
1
answer
27
views
How to convert a float to a double in Kotlin
asked
Apr 12
by
avibootz
kotlin
kotlin-convert-float-double
convert-float-double
1
answer
32
views
How to create an infinite loop using while true with a delay in Kotlin
asked
Apr 11
by
avibootz
kotlin
kotlin-create-infinite-loop-with-delay
create-infinite-loop-with-delay
3
answers
51
views
How to create an infinite loop in Kotlin
asked
Apr 11
by
avibootz
kotlin
kotlin-create-infinite-loop
create-infinite-loop
1
answer
30
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
40
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
32
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
28
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
39
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
46
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
38
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
34
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
37
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
33
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
35
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
43
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
44
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
45
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
39
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
38
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
37
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
94
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
36
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
Page:
1
2
3
4
5
6
...
14
next »
...