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
bash
swift-string
c-string
cpp-string
go-string
php-string
c#-string
cobol
java-string
vbnet-string
rust-string
python-string
scala-string
cpp-vector
f#
opengl
javascript-string
pascal-array
typescript-string
swift-array
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
sdl3
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
angularjs
split-string-into-array-by-delimiter
transpose-matrix
binary-search-algorithm
dot-product-two-arrays
generate-random-floating-point-numbers
all-permutations-combinations
kotlin-matrix
typescript-matrix
vbnet-array
kotlin-list
compare-two-dates
extract-all-digits-string
get-first-digit-after-decimal-point-float
remove-stop-words-string
check-whether-floating-point-variable-is-integer
longest-substring-without-repeating-characters
calculate-volume-cube
divide-given-amount-into-bills-coins
Disclosure:
My content contains affiliate links.
Recent questions tagged java
43,239
questions
56,142
answers
573
users
Recent questions tagged java
1
answer
128
views
How to check if the last index of an array is reachable by jumping based on element values from index 0 in Java
asked
Dec 1, 2025
by
avibootz
java
java-last-index-array-jumping-by-elements-value
last-index-array-jumping-by-elements-value
1
answer
112
views
How to find two prime numbers that, when concatenated, form another prime number in Java
asked
Nov 28, 2025
by
avibootz
java
java-prime-concatenate
prime-concatenate
1
answer
109
views
How to generate an N-digit integer random number in Java
asked
Nov 27, 2025
by
avibootz
java
java-n-digit-integer-random
n-digit-integer-random
1
answer
100
views
How to select random two digits from anywhere in a number with Java
asked
Nov 26, 2025
by
avibootz
java
java-random-two-anywhere-digits
random-two-anywhere-digits
1
answer
104
views
How to select random two consecutive digits from a number in Java
asked
Nov 25, 2025
by
avibootz
java
java-random-two-consecutive-digits
random-two-consecutive-digits
1
answer
104
views
How to convert a degree to a compass direction in Java
asked
Nov 24, 2025
by
avibootz
java
java-degree-compass-direction
degree-compass-direction
1
answer
111
views
How to calculate the sum of all Fibonacci numbers between two left and right indices in Java
asked
Nov 23, 2025
by
avibootz
java
java-sum-fibonacci-numbers
sum-fibonacci-numbers
4
answers
204
views
How to initialize a list in one line with Java
asked
Nov 21, 2025
by
avibootz
java
java-initialize-list
2
answers
161
views
How to generate all possible permutations and combinations of an array of chars in Java
asked
Nov 21, 2025
by
avibootz
java
java-array-all-permutations-combinations
all-permutations-combinations
1
answer
166
views
How to generate all possible permutations and combinations of a list of chars in Java
asked
Nov 21, 2025
by
avibootz
java
java-list-all-permutations-combinations
all-permutations-combinations
1
answer
122
views
How to find the first 4-digit prime number where all digits are unique in Java
asked
Nov 20, 2025
by
avibootz
java
java-4-digit-prime-unique
4-digit-prime-unique
1
answer
109
views
How to write an equivalent to PHP explode(string $separator, string $string, int $limit = INT_MAX): array in Java
asked
Nov 20, 2025
by
avibootz
java
java-explode
php-explode-java
explode-function
1
answer
140
views
How to find the minimum substring of string s1 that includes every character of string s2 in Java
asked
Nov 19, 2025
by
avibootz
java
java-string
java-substring
cpp-minimum-substring
minimum-substring
1
answer
149
views
How to generate a random integer from a range [0, N] that is not in a unique integer list with Java
asked
Nov 19, 2025
by
avibootz
java
java-random
java-random-excluding-list
random-excluding-list
1
answer
133
views
How to replace all occurrences of a specific digit in a floating-point number with Java
asked
Nov 18, 2025
by
avibootz
java
java-replace-all-occurrences-digit-float
replace-all-occurrences-digit-float
1
answer
138
views
How to calculate the length of legB and hypotenuse of a right-angle triangle with a given perimeter and legA in Java
asked
Nov 17, 2025
by
avibootz
java
java-right-angle-triangle
right-angle-triangle
1
answer
133
views
How to replace a digit in a floating-point number by index with Java
asked
Nov 17, 2025
by
avibootz
java
java-replace-digit-float
replace-digit-float
1
answer
117
views
How to write an equivalent to PHP count_chars(string $string, int $mode = 0): array|string function in Java
asked
Nov 16, 2025
by
avibootz
java
java-count-chars
php-count-chars-java
count-chars
1
answer
103
views
How to check whether each substring range (L to R) from an array of substring ranges is a palindrome in Java
asked
Nov 16, 2025
by
avibootz
java
java-substring-range-palindrome
substring-range-palindrome
1
answer
158
views
How to convert a list of strings and group all the anagrams into sublists in Java
asked
Nov 14, 2025
by
avibootz
java
java-list-anagram
group-anagrams
1
answer
155
views
How to get all the substrings with exactly k distinct characters from a given string in Java
asked
Nov 13, 2025
by
avibootz
java
java-substring
java-string
substrings-with-k-distinct-characters
1
answer
134
views
How to find the Kth smallest number in an unsorted array with Java
asked
Nov 11, 2025
by
avibootz
java
java-find-array
java-find-k-smallest-number-unsorted-array
find-k-smallest-number-unsorted-array
1
answer
112
views
How to find a list of numbers up to a limit that is a palindrome in base 10 and base 2 in Java
asked
Nov 10, 2025
by
avibootz
java
java-bouble-base-palindrome
1
answer
111
views
How to find all the numbers that are equal to the sum of the factorials of their digits in Java
asked
Nov 9, 2025
by
avibootz
java
java-numbers
java-factorials
1
answer
124
views
How to find the numbers that are the sum of fifth powers of their digits in Java
asked
Nov 9, 2025
by
avibootz
java
java-numbers
java-fifth-power
1
answer
133
views
How to find the numbers that are the sum of fourth powers of their digits in Java
asked
Nov 9, 2025
by
avibootz
java
java-numbers
java-fourth-power
1
answer
167
views
How to find the floor and ceiling of the value N in an unsorted list with Java
asked
Nov 7, 2025
by
avibootz
java
java-list
java-ceil
java-floor
1
answer
118
views
How to find the total number of combinations of given coins to reach a specific amount in Java
asked
Nov 6, 2025
by
avibootz
java
java-combination
1
answer
141
views
How to write a recursive function to generate all permutations of a string in Java
asked
Nov 4, 2025
by
avibootz
java
java-string
java-recursion
1
answer
140
views
How to use BitSet with nextSetBit() to find set bits indexes in Java
asked
Nov 3, 2025
by
avibootz
java
java-bits
1
answer
138
views
How to generate random floating point numbers in Java
asked
Nov 2, 2025
by
avibootz
java
java-generate-random-floating-point-numbers
generate-random-floating-point-numbers
1
answer
144
views
How to count words in a string with punctuation in Java
asked
Nov 2, 2025
by
avibootz
java
java-string
1
answer
110
views
How to round a number to the nearest power of 2 in Java
asked
Oct 31, 2025
by
avibootz
java
java-round
2
answers
142
views
How to round a number to the previous power of 2 in Java
asked
Oct 29, 2025
by
avibootz
java
java-round
1
answer
115
views
How to round a number to the next power of 2 in Java
asked
Oct 29, 2025
by
avibootz
java
java-round
1
answer
86
views
How to check if a word is all uppercase or lowercase or capitalized in Java
asked
Oct 27, 2025
by
avibootz
java
java-word
1
answer
124
views
How to swap all odd and even bits in Java
asked
Oct 25, 2025
by
avibootz
java
java-bits
1
answer
129
views
How to find the digit previous to a given digit in a number with Java
asked
Oct 20, 2025
by
avibootz
java
java-digits
1
answer
107
views
How to find the digit next to a given digit in a number with Java
asked
Oct 18, 2025
by
avibootz
java
java-digits
1
answer
176
views
How to add a range of elements of a list to another list at a specific position in Java
asked
Oct 18, 2025
by
avibootz
java
java-array
java-range
1
answer
166
views
How to add a range of elements of a list to another list in Java
asked
Oct 16, 2025
by
avibootz
java
java-list
java-range
1
answer
138
views
How to add the first element of a list to another list in Java
asked
Oct 16, 2025
by
avibootz
java
java-list
1
answer
136
views
How to add all the elements of a list to another list in Java
asked
Oct 16, 2025
by
avibootz
java
java-list
1
answer
95
views
How to resize a vector in Java
asked
Oct 13, 2025
by
avibootz
java
java-vector
java-resize
1
answer
105
views
How to calculate the Euclidean distance between two points in Java
asked
Oct 12, 2025
by
avibootz
java
java-euclidean-distance
1
answer
125
views
How to initialize a stack with random numbers up to the stack size in Java
asked
Oct 11, 2025
by
avibootz
java
java-stack
java-random
1
answer
121
views
How to remove duplicates from a stack in Java
asked
Oct 11, 2025
by
avibootz
java
java-stack
java-remove
1
answer
138
views
How to initialize a stack with random numbers in Java
asked
Oct 11, 2025
by
avibootz
java
java-stack
java-random
2
answers
220
views
How to generate a random color in HEX format with Java
asked
Oct 9, 2025
by
avibootz
java
java-generate-random-color-hex-format
generate-random-color-hex-format
2
answers
186
views
How to generate a random color in RGB format with Java
asked
Oct 9, 2025
by
avibootz
java
java-generate-random-color-rgb-format
generate-random-color-rgb-format
Page:
« prev
1
2
3
4
5
6
7
8
9
10
11
...
85
next »
...