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
vbnet
mysql
jquery
pascal-string
lua
winforms
kotlin-string
bash
c-string
swift-string
cpp-string
go-string
cobol
c#-string
php-string
java-string
vbnet-string
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
cpp-array
c#-list
vbnet-list
c-matrix
pascal-matrix
go-slice
c#-array
java-array
nodejs-express
character-code-ascii-unicode
swift-matrix
c#-matrix
sdl3
angularjs
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
calculate-area-pentagon
measure-function-execution-time
sort-words-string
exabyte-constant
petabyte-constant
terabyte-constant
math-functions-constants
string-to-title-case
create-infinite-loop
Disclosure:
My content contains affiliate links.
Recent questions tagged JAVA
41,593
questions
54,235
answers
573
users
Recent questions tagged JAVA
1
answer
69
views
How to format an array of strings in lines with maxWidth without breaking the words in Java
asked
Dec 2, 2025
by
avibootz
java
java-format-array-strings-lines-maxwidth
format-array-strings-lines-maxwidth
1
answer
89
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
74
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
69
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
67
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
61
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
61
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
70
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
135
views
How to initialize a list in one line with Java
asked
Nov 21, 2025
by
avibootz
java
java-initialize-list
2
answers
94
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
106
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
79
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
73
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
87
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
100
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
82
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
90
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
89
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
82
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
64
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
114
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
92
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
81
views
How to find the Kth smallest number in an unsorted array with Java
asked
Nov 11, 2025
by
avibootz
java
java-find-array
1
answer
72
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
65
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
83
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
88
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
96
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
77
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
90
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
100
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
88
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
96
views
How to count words in a string with punctuation in Java
asked
Nov 2, 2025
by
avibootz
java
java-string
1
answer
65
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
92
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
72
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
55
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
77
views
How to swap all odd and even bits in Java
asked
Oct 25, 2025
by
avibootz
java
java-bits
1
answer
92
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
75
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
122
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
116
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
92
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
91
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
58
views
How to resize a vector in Java
asked
Oct 13, 2025
by
avibootz
java
java-vector
java-resize
1
answer
70
views
How to calculate the Euclidean distance between two points in Java
asked
Oct 12, 2025
by
avibootz
java
java-euclidean-distance
1
answer
82
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
81
views
How to remove duplicates from a stack in Java
asked
Oct 11, 2025
by
avibootz
java
java-stack
java-remove
1
answer
91
views
How to initialize a stack with random numbers in Java
asked
Oct 11, 2025
by
avibootz
java
java-stack
java-random
1
answer
81
views
How to generate a random HEX RGB color code in Java
asked
Oct 9, 2025
by
avibootz
java
java-rgb
java-random
Page:
« prev
1
2
3
4
5
6
7
8
9
...
83
next »
...