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
vbnet
winapi
sql
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 go
41,774
questions
54,459
answers
573
users
Recent questions tagged go
1
answer
49
views
How to find all happy numbers in a specific range with Go
asked
Feb 25
by
avibootz
go
go-find-happy-numbers-in-specific-range
find-happy-numbers-in-specific-range
1
answer
57
views
How to check if a number is a happy number in Go
asked
Feb 23
by
avibootz
go
go-check-if-number-is-happy-number
check-if-number-is-happy-number
1
answer
53
views
How to guarantee a 64‑bit integer across platforms in Go
asked
Feb 23
by
avibootz
go
go-guarantee-64-bit-integer-across-platforms
guarantee-64-bit-integer-across-platforms
2
answers
69
views
How to remove newlines from a string Go
asked
Feb 22
by
avibootz
go
go-remove-newlines-from-string
remove-newlines-from-string
1
answer
46
views
How to convert a number to any base in Go
asked
Feb 21
by
avibootz
go
go-convert-number-to-any-base
convert-number-to-any-base
1
answer
50
views
How to count uppercase, lowercase, special characters, and numeric values using RegEx in Go
asked
Feb 20
by
avibootz
go
go-count-uppercase-lowercase-special-characters-numeric-regex
count-uppercase-lowercase-special-characters-numeric-regex
1
answer
50
views
How to simulate rolling two dice (game cubes) with values 1–6 in Go
asked
Feb 18
by
avibootz
go
go-simulate-rolling-two-dice-values-1-6
simulate-rolling-two-dice-values-1-6
1
answer
54
views
How to remove the last n occurrences of a substring in a string in Go
asked
Feb 16
by
avibootz
go
go-remove-last-n-occurrences-substring-string
remove-last-n-occurrences-substring-string
1
answer
56
views
How to replace a random word in a string with a random word from a slice of words using Go
asked
Feb 13
by
avibootz
go
replace-random-word-in-string-with-random-word-from-slice
1
answer
56
views
How to find the length of the shortest word in a string with Go
asked
Feb 12
by
avibootz
go
go-length-shortest-word-in-string
length-shortest-word-in-string
1
answer
63
views
How to find the shortest identical consecutive subslice in a slice with Go
asked
Feb 9
by
avibootz
go
go-shortest-identical-consecutive-subslice
shortest-identical-consecutive-subslice
1
answer
72
views
How to move the n word to the end of a string in Go
asked
Feb 6
by
avibootz
go
go-move-n-word-to-end-of-string
move-n-word-to-end-of-string
1
answer
61
views
How to move the first word to the end of a string in Go
asked
Feb 5
by
avibootz
go
go-move-first-word-to-end-of-string
move-first-word-to-end-of-string
1
answer
52
views
How to move a word to the end of a string in Go
asked
Feb 5
by
avibootz
go
go-move-word-to-end-of-string
move-word-to-end-of-string
1
answer
53
views
How to multiply every N consecutive items in a slice with Go
asked
Feb 2
by
avibootz
go
go-multiply-every-n-of-consecutive-items-in-slice
multiply-every-n-of-consecutive-items-in-slice
1
answer
62
views
How to create a slice of dates between a start and end date in Go
asked
Jan 31
by
avibootz
go
go-create-slice-of-dates
create-slice-of-dates
1
answer
56
views
How to sort a slice of structs by multiple columns in Go
asked
Jan 29
by
avibootz
go
go-sort-slice-of-structs-by-multiple-columns
sort-slice-of-structs-by-multiple-columns
1
answer
65
views
How to generate non‑overlapping random ranges (start,end),(start,end) in Go
asked
Jan 28
by
avibootz
go
go-generate-non-overlapping-random-ranges
generate-non-overlapping-random-ranges
1
answer
62
views
How to merge overlapping ranges (start,end),(start,end) in Go
asked
Jan 26
by
avibootz
go
go-merge-overlapping-ranges
merge-overlapping-ranges
1
answer
73
views
How to merge two strings based on shared suffix and prefix in Go
asked
Jan 24
by
avibootz
go
go-merge-two-strings
merge-two-strings-based-on-shared-suffix-and-prefix
1
answer
60
views
How to sort by strings a mixed pair of string and number elements in a slice with Go
asked
Jan 23
by
avibootz
go
go-sort-slice
sort-by-numbers-mixed-pair-of-string-number-elements-in-slice
1
answer
57
views
How to sort by numbers a mixed pair of string and number elements in a slice with Go
asked
Jan 23
by
avibootz
go
go-sort-slice
sort-by-numbers-mixed-pair-of-string-number-elements-in-slice
1
answer
60
views
How to check if a string is IPv4 or IPv6 or invalid in Go
asked
Jan 20
by
avibootz
go
go-check-if-string-is-ipv4-or-ipv6-or-invalid
check-if-string-is-ipv4-or-ipv6-or-invalid
1
answer
54
views
How to print a calendar for a specific month and year in Go
asked
Jan 19
by
avibootz
go
go-print-calendar-for-specific-month-and-year
print-calendar-for-specific-month-and-year
1
answer
66
views
How to print the calendar for a specific year in Go
asked
Jan 17
by
avibootz
go
go-print-calendar-for-specific-year
print-calendar-for-specific-year
1
answer
64
views
How to group words by first letter in Go
asked
Jan 17
by
avibootz
go
go-group-words-by-first-letter
group-words-by-first-letter
2
answers
62
views
How to extract only words with first-letter lowercase from a string in Go
asked
Jan 16
by
avibootz
go
go-extract-words-with-first-letter-lowercase-from-string
extract-words-with-first-letter-lowercase-from-string
1
answer
71
views
How to find the volume of a capsule in Go
asked
Jan 12
by
avibootz
go
go-find-volume-of-capsule
find-volume-of-capsule
1
answer
50
views
How to implement ternary search to find a value in a sorted list with Go
asked
Jan 12
by
avibootz
go
go-implement-ternary-search-to-find-value-in-sorted-array
implement-ternary-search-to-find-value-in-sorted-array
1
answer
64
views
How to convert a character (flatten) matrix to a single string in Go
asked
Jan 10
by
avibootz
go
go-convert-character-matrix-to-single-string
convert-character-matrix-to-single-string
flatten_char_matrix
1
answer
80
views
How to convert a specific column of a decimal matrix to a string in Go
asked
Jan 9
by
avibootz
go
go-convert-specific-column-decimal-matrix-to-string
convert-specific-column-decimal-matrix-to-string
1
answer
66
views
How to convert a specific row of a decimal matrix to a string in Go
asked
Jan 9
by
avibootz
go
go-convert-specific-row-decimal-matrix-to-string
convert-specific-row-decimal-matrix-to-string
1
answer
65
views
How to check if each letter in a string maps to the first letter of a word in another string with Go
asked
Jan 6
by
avibootz
go
go-each-letter-string-maps-first-letter-word-another-string
each-letter-string-maps-first-letter-word-another-string
1
answer
71
views
How to check if a string can be constructed by using the letters of another string in Go
asked
Jan 5
by
avibootz
go
go-string-constructed-letters-another-string
string-constructed-letters-another-string
1
answer
49
views
How to product of array except self (arr[i] is equal to the product of all the elements except arr[i]) in Go
asked
Jan 3
by
avibootz
go
go-product-array-except-self-arr_i
product-array-except-self-arr_i
2
answers
85
views
How to convert days into human-readable years, months and days in Go
asked
Jan 1
by
avibootz
go
go-days-to-human-readable-years-months-days
days-to-human-readable-years-months-days
1
answer
70
views
How to convert days into human-readable weeks and days in Go
asked
Dec 31, 2025
by
avibootz
go
go-convert-days-human-readable-weeks-days
convert-days-human-readable-weeks-days
1
answer
67
views
How to clear bits in the given range in Go
asked
Dec 30, 2025
by
avibootz
go
go-clear-bits-given-range
clear-bits-given-range
1
answer
67
views
How to get the square root rounded down to the nearest integer of a positive integer in Go
asked
Dec 29, 2025
by
avibootz
go
go-square-root-rounded-down-to-nearest-integer
square-root-rounded-down-to-nearest-integer
1
answer
66
views
How to get the 4 least significant bits in a byte with Go
asked
Dec 28, 2025
by
avibootz
go
go-get-4-least-significant-bits-byte
get-4-least-significant-bits-byte
1
answer
77
views
How to check whether a user string contains any forbidden words from a list in Go
asked
Dec 27, 2025
by
avibootz
go
go-check-user-string-contains-forbidden-words
check-user-string-contains-forbidden-words
1
answer
57
views
How to find a pair with maximum product from int array in Go
asked
Dec 26, 2025
by
avibootz
go
go-pair-maximum-product-array
pair-maximum-product-array
1
answer
79
views
How to reverse the middle words of a string in Go
asked
Dec 25, 2025
by
avibootz
go
go-reverse-middle-words-string
reverse-middle-words-string
1
answer
84
views
How to check if the sum of two halves of a number is equal in Go
asked
Dec 23, 2025
by
avibootz
go
go-sum-two-halves-number-equal
sum-two-halves-number-equal
1
answer
72
views
How to check if two halves of a number are equal in Go
asked
Dec 22, 2025
by
avibootz
go
go-two-halves-number-equal
two-halves-number-equal
1
answer
84
views
How to check if two equal-length strings are at least 50% equal in Go
asked
Dec 20, 2025
by
avibootz
go
go-two-equal-length-strings-at-least-50-percent-equal
two-equal-length-strings-at-least-50-percent-equal
2
answers
82
views
How to check if two strings are isomorphic in Go
asked
Dec 19, 2025
by
avibootz
go
go-check-two-strings-isomorphic
check-two-strings-isomorphic
1
answer
90
views
How to remove text between parentheses in a string using Go
asked
Dec 18, 2025
by
avibootz
go
go-remove-text-between-parentheses-in-string
remove-text-between-parentheses-in-string
1
answer
96
views
How to calculate the area of a triangle using Heron’s formula in Go
asked
Dec 15, 2025
by
avibootz
go
go-area-triangle-herons-formula
area-triangle-herons-formula
1
answer
69
views
How to get the number of the day from the beginning of the year to a given date in Go
asked
Dec 13, 2025
by
avibootz
go
go-number-day-beginning-year
number-day-beginning-year
Page:
« prev
1
2
3
4
5
6
7
8
...
24
next »
...