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
cobol
java-string
c#-string
vbnet-string
python-string
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
add-n-weeks-to-current-date
split-string-into-array-by-delimiter
transpose-matrix
binary-search-algorithm
dot-product-two-arrays
string-to-title-case
generate-random-floating-point-numbers
all-permutations-combinations
rust-matrix
go-matrix
kotlin-list
rot13
split-string-newline
calculate-area-perimeter-triangle
remove-all-letters-alphanumeric-string
Disclosure:
My content contains affiliate links.
Recent questions tagged scala
43,956
questions
57,384
answers
573
users
Recent questions tagged scala
2
answers
14
views
How to break out of multiple for loops at once in Scala
asked
13 hours
ago
by
avibootz
scala
scala-break-out-multiple-for-loops-at-once
break-out-multiple-for-loops-at-once
1
answer
12
views
How to calculate a where 3(a + b + c) + a = 20 and a + b + c = 7 in Scala
asked
1 day
ago
by
avibootz
scala
scala-calculate-a-where-3-a-b-c-a-20
calculate-a-where-3-a-b-c-a-20
1
answer
14
views
How to split a string by newline in Scala
asked
1 day
ago
by
avibootz
scala
scala-split-string-newline
split-string-newline
1
answer
20
views
How to convert an integer array to a string array in Scala
asked
3 days
ago
by
avibootz
scala
scala-convert-integer-array-string-array
convert-integer-array-string-array
1
answer
33
views
How to remove all letters from an alphanumeric string in Scala
asked
4 days
ago
by
avibootz
scala
scala-remove-all-letters-alphanumeric-string
remove-all-letters-alphanumeric-string
1
answer
37
views
How to remove all non-numeric characters from a string in Scala
asked
4 days
ago
by
avibootz
scala
scala-remove-all-non-numeric-characters-string
remove-all-non-numeric-characters-string
1
answer
30
views
How to add N weeks to a given date in Scala
asked
6 days
ago
by
avibootz
scala
scala-add-n-weeks-to-given-date
add-n-weeks-to-given-date
1
answer
45
views
How to add N weeks to the current date in Scala
asked
6 days
ago
by
avibootz
scala
scala-add-n-weeks-to-current-date
add-n-weeks-to-current-date
1
answer
44
views
How to convert int to binary with leading zeros in Scala
asked
Nov 7
by
avibootz
scala
scala-integer-to-binary-leading-zeros
integer-to-binary-leading-zeros
1
answer
39
views
How to find the two largest elements in a sequence with Scala
asked
Nov 6
by
avibootz
scala
scala-two-largest-elements-sequence
two-largest-elements-sequence
1
answer
39
views
How to find the smallest and largest digits in a number in Scala
asked
Nov 6
by
avibootz
scala
scala-smallest-largest-digits-number
smallest-largest-digits-number
1
answer
63
views
How to reverse a string without affecting special characters in Scala
asked
Nov 4
by
avibootz
scala
scala-reverse-string-without-pecial-characters
reverse-string-without-pecial-characters
1
answer
48
views
How to implement the ROT13 algorithm (replace a letter with the 13th letter after it) in Scala
asked
Nov 4
by
avibootz
scala
scala-implement-rot13-algorithm
implement-rot13-algorithm
rot13
1
answer
52
views
How to get the number of months between two dates in Scala
asked
Nov 3
by
avibootz
scala
scala-months-between-two-dates-months
months-between-two-dates-months
1
answer
60
views
How to get all dates between 2 dates in Scala
asked
Nov 2
by
avibootz
scala
scala-all-dates-between-2-dates
all-dates-between-2-dates
1
answer
54
views
How to find the last repeated character in a string with Scala
asked
Nov 1
by
avibootz
scala
scala-last-repeated-character-string
last-repeated-character-string
1
answer
61
views
How to access static properties in an object in Scala
asked
Oct 31
by
avibootz
scala
scala-access-static-properties-in-object
access-static-properties-in-object
1
answer
73
views
How to find three consecutive numbers with the largest sum in a list of integers in Scala
asked
Oct 30
by
avibootz
scala
scala-three-consecutive-numbers-largest-sum-list
three-consecutive-numbers-largest-sum-list
1
answer
70
views
How to generate 7 random numbers out of 33 (1-33) in Scala
asked
Oct 28
by
avibootz
scala
scala-generate-7-random-numbers-1-33
generate-7-random-numbers-1-33
1
answer
75
views
How to calculate the largest positive integer in a 64-bit system in Scala
asked
Oct 26
by
avibootz
scala
scala-largest-positive-integer-64-bit
largest-positive-integer-64-bit
1
answer
68
views
How to get and use a hash code for an array of integers in Scala
asked
Oct 25
by
avibootz
scala
scala-get-use-hash-code-array-integers
get-use-hash-code-array-integers
1
answer
72
views
How to sort a map first by value, then by key in Scala
asked
Oct 24
by
avibootz
scala
scala-sort-map-value-key
sort-map-value-key
1
answer
70
views
How to find the maximum distance between two numbers in a slice with Scala
asked
Oct 23
by
avibootz
scala
scala-maximum-distance-two-numbers-slice
maximum-distance-two-numbers-slice
1
answer
69
views
How to find the minimum distance between two numbers in a sequence with Scala
asked
Oct 22
by
avibootz
scala
scala-minimum-distance-two-numbers-sequence
minimum-distance-two-numbers-sequence
1
answer
79
views
How to compute the total number of combinations when choosing 7 numbers out of 33 in Scala
asked
Oct 20
by
avibootz
scala
scala-total-combinations-choosing-7-out-of-33
total-combinations-choosing-7-out-of-33
6
answers
224
views
How to format a string using fixed-width fields in Scala
asked
Oct 18
by
avibootz
scala
scala-string
scala-format-string-fixed-width-fields
format-string-fixed-width-fields
2
answers
101
views
How to print the bits of a character in Scala
asked
Oct 16
by
avibootz
scala
scala-print-bits-character
print-bits-character
1
answer
85
views
How to get the Nth digit after the decimal point of a floating-point number in Scala
asked
Oct 15
by
avibootz
scala
scala-get-n-digit-after-decimal-point-float
get-n-digit-after-decimal-point-float
1
answer
97
views
How to get the Nth digit of a number from the left with BigInt support in Scala
asked
Oct 14
by
avibootz
scala
scala-get-n-digit-of-number-from-left-bigint
get-n-digit-of-number-from-left-bigint
1
answer
90
views
How to get the Nth digit of a number from the right with BigInt support in Scala
asked
Oct 14
by
avibootz
scala
scala-get-n-digit-of-number-from-right-bigint
get-n-digit-of-number-from-right-bigint
1
answer
95
views
How to get the Nth digit of a number in Scala
asked
Oct 14
by
avibootz
scala
scala-get-n-digit-of-number
get-n-digit-of-number
2
answers
118
views
How to get the Nth digit of a number from the right in Scala
asked
Oct 14
by
avibootz
scala
scala-get-n-digit-of-number-from-right
get-n-digit-of-number-from-right
2
answers
130
views
How to remove file extension in Scala
asked
Oct 13
by
avibootz
scala
scala-remove-file-extension
remove-file-extension
2
answers
176
views
How to sum the corners of a matrix in Scala
asked
Oct 11
by
avibootz
scala
scala-matrix
scala-sum-corners-matrix
sum-corners-matrix
4
answers
227
views
How to swap two numbers without using a third variable (temp) in Scala
asked
Oct 9
by
avibootz
scala
scala-swap-two-numbers
swap-two-numbers
scala-swap-two-numbers-without-third
swap-two-numbers-without-third
2
answers
136
views
How to rearrange an array into a zig-zag pattern (a < b > c < d > e < f > g) in Scala
asked
Oct 8
by
avibootz
scala
scala-rearrange-array-zig-zag-pattern
rearrange-array-zig-zag-pattern
1
answer
98
views
How to generate a range of floating-point numbers in Scala
asked
Oct 7
by
avibootz
scala
scala-floating-point
scala-generate-range-floating-point-numbers
generate-range-floating-point-numbers
1
answer
93
views
How to compare floating-point values safely in Scala
asked
Oct 7
by
avibootz
scala
scala-floating-point
scala-compare-floating-point-safely
compare-floating-point-safely
3
answers
152
views
How to mask a number with stars except the last 4 digits in Scala
asked
Oct 6
by
avibootz
scala
scala-mask-number-stars-except-last-4-digits
mask-number-stars-except-last-4-digits
2
answers
160
views
How to remove characters present in first string from the second string in Scala
asked
Oct 4
by
avibootz
scala
scala-string
remove-characters-first-string-from-second-string
2
answers
109
views
How do you find the position of the most significant bit (MSB) of an unsigned integer in Scala
asked
Oct 1
by
avibootz
scala
scala-position-msb-integer
position-msb-integer
1
answer
90
views
How to use XOR to swap two characters in a string in Scala
asked
Sep 30
by
avibootz
scala
scala-xor-swap-two-characters-string
xor-swap-two-characters-string
1
answer
102
views
How to find the intersection of two arrays (values that exist in both arrays) in Scala
asked
Sep 29
by
avibootz
scala
scala-intersection-two-arrays
intersection-two-arrays
1
answer
100
views
How to check whether the letters of a word exist in a string (order doesn't matter) in Scala
asked
Sep 27
by
avibootz
scala
scala-letters-of-word-exist-in-string-order-doesnt-matter
letters-of-word-exist-in-string-order-doesnt-matter
1
answer
98
views
How to find the element with minimum occurrences in a list with Scala
asked
Sep 26
by
avibootz
scala
scala-element-minimum-occurrences-list
element-minimum-occurrences-list
1
answer
110
views
How to convert multiple date formats to YYYY-MM-DD in Scala
asked
Sep 25
by
avibootz
scala
scala-convert-date-formats-to-yyyy-mm-dd
convert-date-formats-to-yyyy-mm-dd
1
answer
99
views
How to sort a list of string‑based dates in Scala
asked
Sep 23
by
avibootz
scala
scala-sort-list-string-based-dates
sort-list-string-based-dates
1
answer
94
views
How to print a number with a thousand separator as spaces in Scala
asked
Sep 22
by
avibootz
scala
scala-number-thousand-separator-spaces
number-thousand-separator-spaces
1
answer
110
views
How to count the numbers with even number of digits in an array with Scala
asked
Sep 21
by
avibootz
scala
scala-count-numbers-even-number-of-digits-array
count-numbers-even-number-of-digits-array
1
answer
109
views
How to compare two dates in Scala
asked
Sep 20
by
avibootz
scala
scala-compare-two-dates
compare-two-dates
Page:
1
2
3
4
5
6
...
22
next »
...