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
cpp-string
c-string
swift-string
bash
go-string
php-string
c#-string
java-string
vbnet-string
cobol
python-string
rust-string
scala-string
javascript-string
cpp-vector
f#
opengl
typescript-string
pascal-array
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
remove-characters-first-string-from-second-string
generate-8-digit-random-number
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
Disclosure:
My content contains affiliate links.
Recent questions tagged go
43,401
questions
56,365
answers
573
users
Recent questions tagged go
2
answers
11
views
How to remove characters present in first string from the second string in Go
asked
1 day
ago
by
avibootz
go
go-string
go-remove-characters-first-string-from-second-string
remove-characters-first-string-from-second-string
1
answer
19
views
How do you find the position of the most significant bit (MSB) of an unsigned integer in Go
asked
4 days
ago
by
avibootz
go
go-position-msb-integer
position-msb-integer
1
answer
22
views
How to use XOR to swap two characters in a string in Go
asked
5 days
ago
by
avibootz
go
go-xor-swap-two-characters-string
xor-swap-two-characters-string
1
answer
34
views
How to find the intersection of two slices (values that exist in both slices) in Go
asked
6 days
ago
by
avibootz
go
intersection-two-slices
1
answer
43
views
How to check whether the letters of a word exist in a string (order doesn't matter) in Go
asked
Sep 27
by
avibootz
go
go-letters-of-word-exist-in-string-order-doesnt-matter
letters-of-word-exist-in-string-order-doesnt-matter
1
answer
54
views
How to find the element with minimum occurrences in a slice with Go
asked
Sep 25
by
avibootz
go
go-element-minimum-occurrences-slice
element-minimum-occurrences-slice
1
answer
55
views
How to convert multiple date formats to YYYY-MM-DD in Go
asked
Sep 24
by
avibootz
go
go-convert-convert-date-formats-to-yyyy-mm-dd
convert-convert-date-formats-to-yyyy-mm-dd
1
answer
45
views
How to sort a list of string‑based dates in Go
asked
Sep 23
by
avibootz
go
go-sort-list-string-based-dates
sort-list-string-based-dates
1
answer
47
views
How to print a number with a thousand separator as spaces in Go
asked
Sep 22
by
avibootz
go
go-number-thousand-separator-spaces
number-thousand-separator-spaces
1
answer
50
views
How to count the numbers with an even number of digits in a slice with go
asked
Sep 21
by
avibootz
go
go-count-numbers-even-number-of-digits-slice
count-numbers-even-number-of-digits-slice
1
answer
58
views
How to compare two dates in Go
asked
Sep 20
by
avibootz
go
go-compare-two-dates
compare-two-dates
1
answer
59
views
How to get the country name from the 2-letter country code (alpha-2) in Go
asked
Sep 19
by
avibootz
go
go-country-name-from-country-code
country-name-from-country-code
1
answer
65
views
How to extract the last N digits from a number in Go
asked
Sep 18
by
avibootz
go
go-extract-last-n-digits-number
extract-last-n-digits-number
1
answer
71
views
How to extract all floating-point numbers from a string of words in Go
asked
Sep 18
by
avibootz
go
go-extract-all-floating-point-numbers-string
extract-all-floating-point-numbers-string
1
answer
74
views
How to extract all digits from a string in Go
asked
Sep 16
by
avibootz
go
go-extract-all-digits-string
extract-all-digits-string
1
answer
78
views
How to get the first digit of a float number in Go
asked
Sep 15
by
avibootz
go
go-get-first-digit-float
get-first-digit-float
1
answer
67
views
How to compute the factorial of a number greater than 20 in Go
asked
Sep 14
by
avibootz
go
go-compute-factorial-of-number-greater-20
compute-factorial-of-number-greater-20
1
answer
65
views
How to select N unique random values that appear exactly once in an existing slice with Go
asked
Sep 13
by
avibootz
go
go-n-unique-random-values-appear-once-in-slice
n-unique-random-values-appear-once-in-slice
1
answer
62
views
How to select N unique random indices from an existing slice in Go
asked
Sep 12
by
avibootz
go
go-select-n-unique-random-indices-slice
select-n-unique-random-indices-slice
1
answer
76
views
How to find common words in two strings with Go
asked
Sep 11
by
avibootz
go
go-string
go-find-common-words-two-strings
find-common-words-two-strings
1
answer
86
views
How to check whether a floating-point variable is an integer (has no fractional part) in Go
asked
Sep 10
by
avibootz
go
go-check-whether-floating-point-variable-is-integer
check-whether-floating-point-variable-is-integer
1
answer
70
views
How to generate all trigrams (3-character sequences) from a given word in Go
asked
Sep 9
by
avibootz
go
go-generate-all-trigrams-given-word
generate-all-trigrams-given-word
1
answer
84
views
How to compare two float arrays using a tolerance in Go
asked
Sep 8
by
avibootz
go
go-compare-two-float-arrays-tolerance
compare-two-float-arrays-tolerance
1
answer
99
views
How to split text without spaces into a list of words using dictionary-based segmentation in Go
asked
Sep 7
by
avibootz
go
go-split-text-without-spaces-into-words-dictionary
split-text-without-spaces-into-words-dictionary
1
answer
79
views
How to convert numbers from 0 to 999,999,999,999,999 (up to 999 trillion) into English words in Go
asked
Sep 6
by
avibootz
go
go-convert-numbers-0-999999999999999-english-words
convert-numbers-0-999999999999999-english-words
1
answer
77
views
How to parse a table into a binary tree in Go
asked
Sep 5
by
avibootz
go
go-parse-table-into-binary-tree
parse-table-into-binary-tree
1
answer
79
views
How to declare, initialize, and print a medium complexity, varied, feature‑rich data structure in Go
asked
Sep 3
by
avibootz
go
go-declare-initialize-print-medium-complexity-data-structure
declare-initialize-print-medium-complexity-data-structure
1
answer
85
views
How to sort a slice of structs that contain nested structs using custom comparison logic in Go
asked
Sep 1
by
avibootz
go
go-sort-slice-of-structs-contain-nested-structs
sort-slice-of-structs-contain-nested-structs
1
answer
80
views
How to find the N most frequent non‑stopwords in a text in Go
asked
Aug 31
by
avibootz
go
go-n-most-frequent-non-stopwords-text
n-most-frequent-non-stopwords-text
1
answer
81
views
How to find the starting index of all occurrences of a word in a string in Go
asked
Aug 30
by
avibootz
go
go-find-starting-index-all-occurrences-word-string
find-starting-index-all-occurrences-word-string
2
answers
109
views
How to split a string into words in Go
asked
Aug 29
by
avibootz
go
go-split-string
c-split-string-into-words
split-string-into-words
1
answer
81
views
How to convert any digital storage unit into all others (B, KB, MB, GB, TB, PB, EB, ZB, YB) in Go
asked
Aug 28
by
avibootz
go
go-convert-any-digital-storage-unit-into-all-others
convert-any-digital-storage-unit-into-all-others
1
answer
76
views
How to write the Tic-Tac-Toe game in Go
asked
Aug 27
by
avibootz
go
go-tic-tac-toe-game
tic-tac-toe-game
1
answer
91
views
How to generate a random RGBA color and opacity in Go
asked
Aug 25
by
avibootz
go
go-generate-random-rgba-color-opacity
generate-random-rgba-color-opacity
1
answer
88
views
How to generate a series of unique HEX colors in Go
asked
Aug 24
by
avibootz
go
go-generate-series-unique-hex-colors
generate-series-unique-hex-colors
2
answers
126
views
How to print the numbers 0 to 31 by changing 1 bit each time in Go
asked
Aug 22
by
avibootz
go
go-print-0-31-changing-1-bit-each-time
print-0-31-changing-1-bit-each-time
1
answer
95
views
How to generate N random 1s in a zero-based matrix with Go
asked
Aug 20
by
avibootz
go
go-generate-n-random-1-zero-based-matrix
generate-n-random-1-zero-based-matrix
1
answer
93
views
How to find all sequences of consecutive prime numbers whose sum equals N in Go
asked
Aug 19
by
avibootz
go
go-all-sequences-consecutive-prime-numbers-sum-equal-n
all-sequences-consecutive-prime-numbers-sum-equal-n
1
answer
88
views
How to print the first 100 prime numbers in Go
asked
Aug 18
by
avibootz
go
go-print-first-100-prime-numbers
print-first-100-prime-numbers
1
answer
94
views
How to initialize a slice with a range of numbers in Go
asked
Aug 18
by
avibootz
go
go-initialize-slice-range-of-numbers
initialize-slice-range-of-numbers
1
answer
106
views
How to do modulo multiplication for 64‑bit values without using BigInteger in Go
asked
Aug 16
by
avibootz
go
go-modulo-multiplication-64-bit-values-without-biginteger
modulo-multiplication-64-bit-values-without-biginteger
1
answer
116
views
How to remove every N‑th element from a slice in Go
asked
Aug 15
by
avibootz
go
go-remove-every-n-element-slice
remove-every-n-element-slice
1
answer
110
views
How to build sparse array in Go
asked
Aug 15
by
avibootz
go
go-build-sparse-array
build-sparse-array
1
answer
113
views
How to get the first N digits of a BigInteger in Go
asked
Aug 14
by
avibootz
go
go-get-first-n-digits-biginteger
get-first-n-digits-biginteger
2
answers
150
views
How to count the number of digits in an integer with Go
asked
Aug 13
by
avibootz
go
go-count-digits-integer
count-digits-integer
1
answer
115
views
How to extract and sort numbers from a string containing numbers and text in Go
asked
Aug 13
by
avibootz
go
go-extract-sort-numbers-string
extract-sort-numbers-string
1
answer
135
views
How to convert radians to degrees and degrees to radians in Rust
asked
Aug 12
by
avibootz
go
go-convert-radians-degrees-degrees-radians
convert-radians-degrees-degrees-radians
1
answer
123
views
How to convert radians to degrees and degrees to radians in Go
asked
Aug 12
by
avibootz
go
go-convert-radians-degrees-degrees-radians
convert-radians-degrees-degrees-radians
1
answer
110
views
How to find the N smallest values in a 2D slice in Go
asked
Aug 10
by
avibootz
go
go-find-n-smallest-values-2d-slice
find-n-smallest-values-2d-slice
1
answer
130
views
How to sort a slice with a single loop in Go
asked
Aug 8
by
avibootz
go
go-sort-slice-with-single-loop
sort-slice-with-single-loop
Page:
1
2
3
4
5
6
...
26
next »
...