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
pascal-string
lua
vbnet
winforms
kotlin-string
bash
c-string
swift-string
cpp-string
go-string
c#-string
php-string
java-string
vbnet-string
rust-string
python-string
cpp-vector
f#
opengl
scala-string
javascript-string
pascal-array
cobol
c-array
swift-array
typescript-string
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
generate-random-floating-point-numbers
all-permutations-combinations
kotlin-matrix
typescript-matrix
vbnet-array
kotlin-list
math-functions-constants
dot-product-two-arrays
string-to-title-case
create-infinite-loop
rust-matrix
go-matrix
javascript-matrix
raylib
glfw
function-optional-parameter
decode-leet-speak
decimal-number-to-string-leading-zeros
Disclosure:
My content contains affiliate links.
Recent questions tagged JAVA
40,948
questions
53,412
answers
573
users
Recent questions tagged JAVA
1
answer
11
views
How to remove comments from a string in Java
asked
22 hours
ago
by
avibootz
java
java-remove-comments-string
remove-comments-string
1
answer
13
views
How to use math functions and constants in Java
asked
1 day
ago
by
avibootz
java
java-math-functions-constants
math-functions-constants
2
answers
17
views
How to create a function with an optional parameter in Java
asked
2 days
ago
by
avibootz
java
java-function-optional-parameter
function-optional-parameter
1
answer
19
views
How to build a pyramid from the numbers 3, 7, 5, 2, 4, 8, 6, 9, 0, 3 in Java
asked
3 days
ago
by
avibootz
java
java-build-pyramid-from-numbers
build-pyramid-from-numbers
1
answer
17
views
How to write a generic swap function in Java
asked
4 days
ago
by
avibootz
java
java-generic-swap-function
generic-swap-function
1
answer
26
views
How to decode Leet Speak (where numbers resemble letters (7->T, 1->I, 5->S, 3 -> E)) in Java
asked
4 days
ago
by
avibootz
java
java-decode-leet-speak
decode-leet-speak
1
answer
20
views
How to convert "7H15 M3554G3" into words in Java
asked
5 days
ago
by
avibootz
java
java-convert-7h15-m3554g3-into-words
convert-7h15-m3554g3-into-words
2
answers
24
views
How to express a decimal number as a fixed-length string with leading zeros in Java
asked
5 days
ago
by
avibootz
java
java-decimal-number-to-string-leading-zeros
decimal-number-to-string-leading-zeros
1
answer
21
views
How to validate a password (must contain uppercase, lowercase, digit, and special character) in Java
asked
6 days
ago
by
avibootz
java
java-validate-password
validate-password
1
answer
30
views
How to reconstruct a full sparse matrix from a compact (triplet) matrix in Java
asked
6 days
ago
by
avibootz
java
java-reconstruct-sparse-matrix-from-compact-triplet-matrix
reconstruct-sparse-matrix-from-compact-triplet-matrix
1
answer
23
views
How to compact a sparse matrix in Java
asked
Apr 24
by
avibootz
java
java-compact-sparse-matrix
compact-sparse-matrix
1
answer
28
views
How to search for a word in a grid of characters with Java
asked
Apr 23
by
avibootz
java
java-search
java-grid
java-search-word-grid-characters
search-word-grid-characters
1
answer
25
views
How to create a generic method with multiple type parameters in Java
asked
Apr 21
by
avibootz
java
java-create-generic-class-generic-method-multiple-type-parameters
create-generic-class-generic-method-multiple-type-parameters
1
answer
29
views
How to create a generic class with a generic method in Java
asked
Apr 21
by
avibootz
java
java-create-generic-class-generic-method
create-generic-class-generic-method
1
answer
37
views
How to localize date format in Java
asked
Apr 19
by
avibootz
java
java-localize-date-format
localize-date-format
1
answer
29
views
How to check if a string is title case in Java
asked
Apr 17
by
avibootz
java
java-check-string-title-case
check-string-title-case
11
answers
61
views
How to copy a string in Java
asked
Apr 16
by
avibootz
java
java-copy-string
copy-string
1
answer
37
views
How to represent the Boolean "true" and "false" in Java
asked
Apr 14
by
avibootz
java
java-represent-boolean-true-false
represent-boolean-true-false
1
answer
26
views
How to find the next number in the series 14, 25, 47, 91 with Java
asked
Apr 14
by
avibootz
java
java-next-number-series-14-25-47-91
next-number-series-14-25-47-91
2
answers
34
views
How to print all possible permutations (all possible orderings) of the words in Java
asked
Apr 14
by
avibootz
java
java-all-possible-permutations-words
all-possible-permutations-words
1
answer
28
views
How to calculate relative past time from a given date & time (e.g., 3 hours ago, 5 days ago, a month ago) in Java
asked
Apr 13
by
avibootz
java
java-calculate-relative-past-time-date-time
calculate-relative-past-time-date-time
1
answer
25
views
How to add a new interval into a sorted list of non‑overlapping intervals in Java
asked
Apr 9
by
avibootz
java
java-add-interval-into-sorted-list-non-overlapping-intervals
add-interval-into-sorted-list-non-overlapping-intervals
1
answer
22
views
How to print text diagonally from left to right recursively in Java
asked
Apr 8
by
avibootz
java
java-print-text-diagonally-from-left-to-right-recursively
print-text-diagonally-from-left-to-right-recursively
1
answer
29
views
How to detect whether any intervals overlap in an array of start and end times with Java
asked
Apr 8
by
avibootz
java
java-detect-intervals-overlap-array-start-end-times
detect-intervals-overlap-array-start-end-times
1
answer
28
views
How to print text diagonally from left to right in Java
asked
Apr 7
by
avibootz
java
java-print-text-diagonally-from-left-to-right
print-text-diagonally-from-left-to-right
1
answer
33
views
How to find the k biggest values from an array in Java
asked
Apr 5
by
avibootz
java
java-k-biggest-values-array
k-biggest-values-array
2
answers
40
views
How to find the maximum value we can achieve by picking k elements from an array in Java
asked
Apr 5
by
avibootz
java
java-maximum-value-k-elements-array
maximum-value-k-elements-array
1
answer
40
views
How to check whether only 2 bits in a number at a specific position are on (edge‑case‑safe) with Java
asked
Apr 3
by
avibootz
java
java-check-2-number-bits-specific-position-on-edge-case-safe
check-2-number-bits-specific-position-on-edge-case-safe
1
answer
29
views
How to write 4 different functions that check if a number is a power of 2 in Java
asked
Apr 2
by
avibootz
java
java-different-functions-check-number-power-of-2
different-functions-check-number-power-of-2
1
answer
29
views
How to write 6 different functions that accept 5 or 7 and return the other number, without using if,switch in Java
asked
Mar 31
by
avibootz
java
java-different-functions-accept-5-7-return-other-number
different-functions-accept-5-7-return-other-number
1
answer
29
views
How to copy bits from M into N (numbers) between bit positions i and j (edge‑case‑safe) in Java
asked
Mar 30
by
avibootz
java
java-bits
java-copy-bits-m-into-n-between-positions-edge-case-safe
copy-bits-m-into-n-between-positions-edge-case-safe
1
answer
38
views
How to get the word before the last word from a string (edge‑case‑safe) in Java
asked
Mar 28
by
avibootz
java
java-string
java-get-word-before-last-string-edge-case-safe
get-word-before-last-string-edge-case-safe
1
answer
39
views
How to get the last word of a string in Java
asked
Mar 27
by
avibootz
java
java-string-get-last-word-string
get-last-word-string
1
answer
37
views
How to find the median among three given numbers in Java
asked
Mar 26
by
avibootz
java
java-median-among-three-given-numbers
median-among-three-given-numbers
1
answer
41
views
How to find the smallest number greater than a given number, using the same digits in Java
asked
Mar 25
by
avibootz
java
java-smallest-number-greater-given-number-same-digits
smallest-number-greater-given-number-same-digits
1
answer
47
views
How to produce a sequential count in octal, starting at zero in Java
asked
Mar 24
by
avibootz
java
java-sequential-count-octal
sequential-count-octal
7
answers
66
views
How to iterate over a collection of key-value pairs (associative array) in Java
asked
Mar 22
by
avibootz
java
java-iterate-collection-key-value-pairs
iterate-collection-key-value-pairs
2
answers
39
views
How to apply a callback to an array (apply a function to each element) in Java
asked
Mar 20
by
avibootz
java
java-callback-to-array
callback-to-array
1
answer
33
views
How to calculate the Ethiopian multiplication in Java
asked
Mar 17
by
avibootz
java
java-ethiopian-multiplication
ethiopian-multiplication
1
answer
34
views
How to calculate the percentage of a percentage in Java
asked
Mar 17
by
avibootz
java
java-percentage-of-percentage
percentage-of-percentage
1
answer
36
views
How to calculate the percentage change between two values in Java
asked
Mar 16
by
avibootz
java
java-percentage-change-between-two-values
percentage-change-between-two-values
1
answer
36
views
How to find the longest shared prefix among all words in a string with Java
asked
Mar 13
by
avibootz
java
java-longest-shared-prefix-words-string
longest-shared-prefix-words-string
1
answer
38
views
How to group words in a string by the first N letters in Java
asked
Mar 13
by
avibootz
java
java-group-words-string-first-n-letter
group-words-string-first-n-letter
2
answers
71
views
How to find the longest common prefix of all the words in a string with Java
asked
Mar 11
by
avibootz
java
java-longest-common-prefix-all-words-string
longest-common-prefix-all-words-string
2
answers
40
views
How to split a string on multiple multi‑character delimiters (and keep them) in Java
asked
Mar 9
by
avibootz
java
java-split-string-multiple-multi-character-delimiters
split-string-multiple-multi-character-delimiters
1
answer
44
views
How to split a string on multiple single‑character delimiters (and keep them) in Java
asked
Mar 9
by
avibootz
java
java-split-string-multiple-single-character-delimiters
split-string-multiple-single-character-delimiters
1
answer
47
views
How to remove all adjacent duplicate characters from a string until no more can be removed in Java
asked
Mar 7
by
avibootz
java
java-remove-adjacent-duplicate-characters-string
remove-adjacent-duplicate-characters-string
1
answer
47
views
How to reverse only the alphabetic characters in a string, keeping other characters in place with Java
asked
Mar 6
by
avibootz
java
java-reverse-only-alphabetic-characters
reverse-only-alphabetic-characters
1
answer
41
views
How to find missing alphabet characters from a string in Java
asked
Mar 6
by
avibootz
java
java-missing-alphabet-characters-string
missing-alphabet-characters-string
2
answers
58
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
Page:
1
2
3
4
5
6
...
82
next »
...