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
c#
cpp
javascript
php
vb#
typescript
nodejs
go
rust
scala
swift
kotlin
pascal
html
dart
ruby
r
css
bootstrap
win32
groovy
winapi
sql
mysql
jquery
lua
winforms
pascal-string
bash
kotlin-string
swift-string
c-string
cpp-string
go-string
java-string
cpp-vector
f#
opengl
php-string
c#-string
vbnet-string
pascal-array
rust-string
python-string
swift-array
scala-string
javascript-string
c-array
php-array
typescript-string
javascript-array
cobol
rust-vector
typescript-array
python-list
reactjs
scala-array
c-windows
go-array
nodejs-string
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
swift-matrix
c#-matrix
sdl3
angularjs
generate-random-floating-point-numbers
all-permutations-combinations
kotlin-matrix
typescript-matrix
vbnet-array
kotlin-list
rust-matrix
go-matrix
javascript-matrix
raylib
glfw
calculate-surface-area-cuboid
remove-last-occurrence-word-string
extract-words-with-first-letter-lowercase-from-string
convert-specific-column-decimal-matrix-to-string
convert-specific-row-decimal-matrix-to-string
number-made-prime-deleting-single-digit
convert-days-human-readable-weeks-days
square-root-rounded-down-to-nearest-integer
remove-middle-word-string
Disclosure:
My content contains affiliate links.
Recent questions tagged JAVA
40,244
questions
52,261
answers
573
users
Recent questions tagged JAVA
2
answers
3
views
How to find the longest common prefix of all the words in a string with Java
asked
20 hours
ago
by
avibootz
java
java-longest-common-prefix-all-words-string
longest-common-prefix-all-words-string
2
answers
13
views
How to split a string on multiple multi‑character delimiters (and keep them) in Java
asked
2 days
ago
by
avibootz
java
java-split-string-multiple-multi-character-delimiters
split-string-multiple-multi-character-delimiters
1
answer
11
views
How to split a string on multiple single‑character delimiters (and keep them) in Java
asked
3 days
ago
by
avibootz
java
java-split-string-multiple-single-character-delimiters
split-string-multiple-single-character-delimiters
1
answer
12
views
How to remove all adjacent duplicate characters from a string until no more can be removed in Java
asked
5 days
ago
by
avibootz
java
java-remove-adjacent-duplicate-characters-string
remove-adjacent-duplicate-characters-string
1
answer
29
views
How to reverse only the alphabetic characters in a string, keeping other characters in place with Java
asked
6 days
ago
by
avibootz
java
java-reverse-only-alphabetic-characters
reverse-only-alphabetic-characters
1
answer
17
views
How to find missing alphabet characters from a string in Java
asked
6 days
ago
by
avibootz
java
java-missing-alphabet-characters-string
missing-alphabet-characters-string
2
answers
28
views
How to find the longest word in a string with Java
asked
Mar 3
by
avibootz
java
java-string
java-longest-word-in-string
longest-word-in-string
1
answer
15
views
How to check if a string contains only 0 and 1 and is divisible by 7 in Java
asked
Mar 1
by
avibootz
java
java-string-contains-only-0-and-1-is-divisible-by-7
string-contains-only-0-and-1-is-divisible-by-7
2
answers
28
views
How to check if every digit in a number appears only once in Java
asked
Feb 26
by
avibootz
java
java-check-digits-number-appears-once
check-digits-number-appears-once
1
answer
19
views
How to find all happy numbers in a specific range with Java
asked
Feb 24
by
avibootz
java
java-find-happy-numbers-in-specific-range
find-happy-numbers-in-specific-range
3
answers
36
views
How to remove newlines from a string Java
asked
Feb 22
by
avibootz
java
java-remove-newlines-from-string
remove-newlines-from-string
1
answer
24
views
How to convert a number to any base in Java
asked
Feb 21
by
avibootz
java
java-convert-number-to-any-base
convert-number-to-any-base
1
answer
21
views
How to convert meters to yards and vice versa in Java
asked
Feb 20
by
avibootz
java
java-convert-meters-yards-vice-versa
convert-meters-yards-vice-versa
1
answer
37
views
How to count uppercase, lowercase, special characters, and numeric values using RegEx in Java
asked
Feb 20
by
avibootz
java
java-count-uppercase-lowercase-special-characters-numeric-regex
count-uppercase-lowercase-special-characters-numeric-regex
1
answer
23
views
How to simulate rolling two dice (game cubes) with values 1–6 in Java
asked
Feb 18
by
avibootz
java
java-simulate-rolling-two-dice-values-1-6
simulate-rolling-two-dice-values-1-6
1
answer
23
views
How to remove the last n occurrences of a substring in a string in Java
asked
Feb 15
by
avibootz
java
java-remove-last-n-occurrences-substring-string
remove-last-n-occurrences-substring-string
1
answer
32
views
How to replace a random word in a string with a random word from a list of words using Java
asked
Feb 13
by
avibootz
java
java-replace-random-word-in-string-with-random-word-from-list
replace-random-word-in-string-with-random-word-from-list
1
answer
16
views
How to calculate the products of (jagged) uneven-sized matrix columns in Java
asked
Feb 13
by
avibootz
java
java-products-uneven-sized-matrix-columns
products-uneven-sized-matrix-columns
1
answer
29
views
How to find the shortest identical consecutive sublist in a list with Java
asked
Feb 8
by
avibootz
java
java-shortest-identical-consecutive-sublist
shortest-identical-consecutive-sublist
1
answer
26
views
How to find the shortest identical consecutive subvector in an vector with Java
asked
Feb 8
by
avibootz
java
java-shortest-identical-consecutive-subvector
shortest-identical-consecutive-subvector
1
answer
29
views
How to find the shortest identical consecutive subarray in an array with Java
asked
Feb 7
by
avibootz
java
java-shortest-identical-consecutive-subarray
shortest-identical-consecutive-subarray
1
answer
27
views
How to move the n word to the end of a string in Java
asked
Feb 6
by
avibootz
java
java-move-n-word-to-end-of-string
move-n-word-to-end-of-string
1
answer
27
views
How to move the first word to the end of a string in Java
asked
Feb 5
by
avibootz
java
java-move-first-word-to-end-of-string
move-first-word-to-end-of-string
1
answer
31
views
How to move a word to the end of a string in Java
asked
Feb 3
by
avibootz
java
java-move-word-to-end-of-string
move-word-to-end-of-string
1
answer
29
views
How to multiply every N consecutive items in a list with Java
asked
Feb 1
by
avibootz
java
java-multiply-every-n-of-consecutive-items-in-list
multiply-every-n-of-consecutive-items-in-list
1
answer
29
views
How to create a list of dates between a start and end date in Java
asked
Jan 31
by
avibootz
java
java-create-list-of-dates
create-list-of-dates
1
answer
32
views
How to sort a list of data classes by multiple columns in Java
asked
Jan 29
by
avibootz
java
java-sort-list-of-data-classes-by-multiple-columns
sort-list-of-data-classes-by-multiple-columns
1
answer
30
views
How to generate non‑overlapping random ranges (start,end),(start,end) in Java
asked
Jan 27
by
avibootz
java
java-generate-non-overlapping-random-ranges
generate-non-overlapping-random-ranges
1
answer
29
views
How to merge overlapping ranges (start,end),(start,end) in Java
asked
Jan 26
by
avibootz
java
java-merge-overlapping-ranges
merge-overlapping-ranges
1
answer
31
views
How to merge two strings based on shared suffix and prefix in Java
asked
Jan 23
by
avibootz
java
java-merge-two-strings
merge-two-strings-based-on-shared-suffix-and-prefix
1
answer
28
views
How to sort by strings a mixed pair of string and number elements in a list with Java
asked
Jan 22
by
avibootz
java
java-sort-list
sort-by-numbers-mixed-pair-of-string-number-elements-in-list
1
answer
34
views
How to sort by numbers a mixed pair of string and number elements in a list with Java
asked
Jan 22
by
avibootz
java
java-sort-list
sort-by-numbers-mixed-pair-of-string-number-elements-in-list
1
answer
30
views
How to turn a total number of seconds into years, months, days, minutes and seconds in Java
asked
Jan 21
by
avibootz
java
java-turn-total-number-of-seconds-into-years-months-days-minutes-seconds
turn-total-number-of-seconds-into-years-months-days-minutes-seconds
1
answer
26
views
How to check if a string is IPv4 or IPv6 or invalid in Java
asked
Jan 19
by
avibootz
java
java-check-if-string-is-ipv4-or-ipv6-or-invalid
check-if-string-is-ipv4-or-ipv6-or-invalid
1
answer
31
views
How to print a calendar for a specific month and year in Java
asked
Jan 18
by
avibootz
java
java-print-calendar-for-specific-month-and-year
print-calendar-for-specific-month-and-year
1
answer
34
views
How to print the calendar for a specific year in Java
asked
Jan 17
by
avibootz
java
java-print-calendar-for-specific-year
print-calendar-for-specific-year
1
answer
28
views
How to group words by first letter in Java
asked
Jan 16
by
avibootz
java
java-group-words-by-first-letter
group-words-by-first-letter
1
answer
32
views
How to find the volume of a capsule in Java
asked
Jan 12
by
avibootz
java
java-find-volume-of-capsule
find-volume-of-capsule
1
answer
30
views
How to implement ternary search to find a value in a sorted array with Java
asked
Jan 12
by
avibootz
java
java-implement-ternary-search-to-find-value-in-sorted-array
implement-ternary-search-to-find-value-in-sorted-array
1
answer
33
views
How to convert a character (flatten) matrix to a single string in Java
asked
Jan 10
by
avibootz
java
java-convert-character-matrix-to-single-string
convert-character-matrix-to-single-string
flatten_char_matrix
1
answer
31
views
How to convert a matrix of numbers to a string in Java
asked
Jan 9
by
avibootz
java
java-convert-matrix-numbers-to-string
convert-matrix-numbers-to-string
2
answers
44
views
How to find the max absolute difference between consecutive characters in a string with Java
asked
Jan 9
by
avibootz
java
java-max-absolute-difference-between-consecutive-characters-in-string
max-absolute-difference-between-consecutive-characters-in-string
3
answers
50
views
How to convert ArrayList to HashMap in Java
asked
Jan 8
by
avibootz
java
java-convert-arraylist-hashmap
convert-arraylist-hashmap
1
answer
33
views
How to hash a set of GUIDs in Java
asked
Jan 7
by
avibootz
java
java-hash-set-of-guids
hash-set-of-guids
1
answer
36
views
How to check if each letter in a string maps to the first letter of a word in another string with Java
asked
Jan 6
by
avibootz
java
java-each-letter-string-maps-first-letter-word-another-string
each-letter-string-maps-first-letter-word-another-string
1
answer
33
views
How to check if a string can be constructed by using the letters of another string in Java
asked
Jan 5
by
avibootz
java
java-string-constructed-letters-another-string
string-constructed-letters-another-string
1
answer
30
views
How to product of array except self (arr[i] is equal to the product of all the elements except arr[i]) in Java
asked
Jan 2
by
avibootz
java
java-product-array-except-self-arr_i
product-array-except-self-arr_i
2
answers
53
views
How to convert ArrayList to LinkedHashMap in Java
asked
Jan 2
by
avibootz
java
java-convert-arraylist-linkedhashmap
convert-arraylist-linkedhashmap
1
answer
48
views
How to clear bits in the given range in Java
asked
Dec 29, 2025
by
avibootz
java
java-clear-bits-given-range
clear-bits-given-range
1
answer
41
views
How to check if stack elements are pairwise consecutive in Java
asked
Dec 28, 2025
by
avibootz
java
java-check-stack-elements-pairwise-consecutive
check-stack-elements-pairwise-consecutive
Page:
1
2
3
4
5
6
...
81
next »
...