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
ruby
html
vbnet
dart
r
css
bootstrap
win32
groovy
winapi
sql
mysql
jquery
pascal-string
lua
winforms
kotlin-string
cpp-string
c-string
swift-string
go-string
php-string
bash
cobol
java-string
c#-string
vbnet-string
python-string
rust-string
scala-string
javascript-string
cpp-vector
typescript-string
pascal-array
f#
opengl
c-array
swift-array
php-array
javascript-array
rust-vector
typescript-array
python-list
scala-array
reactjs
c-windows
nodejs-string
go-array
nodejs-array
kotlin-array
sdl2
cpp-matrix
cpp-array
c-matrix
sdl3
c#-list
vbnet-list
java-array
pascal-matrix
c#-array
swift-matrix
c#-matrix
go-slice
nodejs-express
character-code-ascii-unicode
kotlin-matrix
typescript-matrix
vbnet-array
angularjs
add-n-weeks-to-current-date
split-string-into-array-by-delimiter
transpose-matrix
binary-search-algorithm
dot-product-two-arrays
string-to-title-case
generate-random-floating-point-numbers
all-permutations-combinations
rust-matrix
go-matrix
kotlin-list
rot13
split-string-newline
calculate-area-perimeter-triangle
remove-all-letters-alphanumeric-string
Disclosure:
My content contains affiliate links.
Recent questions tagged GO
43,956
questions
57,384
answers
573
users
Recent questions tagged GO
2
answers
16
views
How to break out of multiple for loops at once in Go
asked
14 hours
ago
by
avibootz
go
go-break-out-multiple-for-loops-at-once
break-out-multiple-for-loops-at-once
1
answer
14
views
How to calculate a where 3(a + b + c) + a = 20 and a + b + c = 7 in Go
asked
1 day
ago
by
avibootz
go
go-calculate-a-where-3-a-b-c-a-20
calculate-a-where-3-a-b-c-a-20
1
answer
16
views
How to split a string by newline in Go
asked
1 day
ago
by
avibootz
go
go-split-string-newline
split-string-newline
1
answer
26
views
How to convert an integer array to a string array in Go
asked
3 days
ago
by
avibootz
go
go-convert-integer-array-string-array
convert-integer-array-string-array
1
answer
30
views
How to remove all letters from an alphanumeric string in Go
asked
4 days
ago
by
avibootz
go
go-remove-all-letters-alphanumeric-string
remove-all-letters-alphanumeric-string
1
answer
38
views
How to remove all non-numeric characters from a string in Go
asked
4 days
ago
by
avibootz
go
go-remove-all-non-numeric-characters-string
remove-all-non-numeric-characters-string
1
answer
35
views
How to add N weeks to a given date in Go
asked
6 days
ago
by
avibootz
go
go-add-n-weeks-to-given-date
add-n-weeks-to-given-date
1
answer
48
views
How to add N weeks to the current date in Go
asked
6 days
ago
by
avibootz
go
go-add-n-weeks-to-current-date
add-n-weeks-to-current-date
1
answer
50
views
How to convert int to binary with leading zeros in Go
asked
Nov 6
by
avibootz
go
go-integer-to-binary-leading-zeros
integer-to-binary-leading-zeros
1
answer
40
views
How to find the two largest elements in a slice with Go
asked
Nov 6
by
avibootz
go
go-two-largest-elements-slice
two-largest-elements-slice
1
answer
40
views
How to find the smallest and largest digits in a number in Go
asked
Nov 5
by
avibootz
go
go-smallest-largest-digits-number
smallest-largest-digits-number
1
answer
61
views
How to reverse a string without affecting special characters in Go
asked
Nov 4
by
avibootz
go
go-reverse-string-without-pecial-characters
reverse-string-without-pecial-characters
1
answer
54
views
How to reverse a slice of characters without affecting the special characters in Go
asked
Nov 4
by
avibootz
go
go-reverse-slice-characters-without-special-characters
reverse-slice-characters-without-special-characters
1
answer
49
views
How to implement the ROT13 algorithm (replace a letter with the 13th letter after it) in Go
asked
Nov 4
by
avibootz
go
go-implement-rot13-algorithm
implement-rot13-algorithm
rot13
1
answer
44
views
How to get the number of months between two dates in Go
asked
Nov 3
by
avibootz
go
go-months-between-two-dates-months
months-between-two-dates-months
1
answer
58
views
How to get all dates between 2 dates in Go
asked
Nov 2
by
avibootz
go
go-all-dates-between-2-dates
all-dates-between-2-dates
1
answer
51
views
How to find the last repeated character in a string with Go
asked
Nov 1
by
avibootz
go
go-last-repeated-character-string
last-repeated-character-string
1
answer
69
views
How to find three consecutive numbers with the largest sum in a slice of integers in Go
asked
Oct 30
by
avibootz
go
go-three-consecutive-numbers-largest-sum-slice
three-consecutive-numbers-largest-sum-slice
1
answer
65
views
How to generate 7 random numbers out of 33 (1-33) in Go
asked
Oct 28
by
avibootz
go
go-generate-7-random-numbers-1-33
generate-7-random-numbers-1-33
3
answers
129
views
How to calculate the largest positive integer in a 64-bit system in Go
asked
Oct 26
by
avibootz
go
go-largest-positive-integer-64-bit
largest-positive-integer-64-bit
1
answer
73
views
How to get and use a hash code for an array and a slice of integers in Go
asked
Oct 25
by
avibootz
go
go-get-use-hash-code-array-slice-integers
get-use-hash-code-array-slice-integers
1
answer
78
views
How to sort a map first by value, then by key in Go
asked
Oct 23
by
avibootz
go
go-sort-map-value-key
sort-map-value-key
1
answer
69
views
How to find the maximum distance between two numbers in a slice with Go
asked
Oct 22
by
avibootz
go
go-maximum-distance-two-numbers-slice
maximum-distance-two-numbers-slice
1
answer
74
views
How to find the minimum distance between two numbers in a slice with Go
asked
Oct 21
by
avibootz
go
go-minimum-distance-two-numbers-slice
minimum-distance-two-numbers-slice
1
answer
88
views
How to compute the total number of combinations when choosing 7 numbers out of 33 in Go
asked
Oct 20
by
avibootz
go
go-total-combinations-choosing-7-out-of-33
total-combinations-choosing-7-out-of-33
6
answers
219
views
How to format a string using fixed-width fields in Go
asked
Oct 18
by
avibootz
go
go-string
go-format-string-fixed-width-fields
format-string-fixed-width-fields
1
answer
84
views
How to print the bits of a character in Go
asked
Oct 16
by
avibootz
go
go-print-bits-character
print-bits-character
1
answer
88
views
How to get the Nth digit after the decimal point of a floating-point number in Go
asked
Oct 15
by
avibootz
go
go-get-n-digit-after-decimal-point-float
get-n-digit-after-decimal-point-float
1
answer
91
views
How to get the Nth digit of a number in Go
asked
Oct 14
by
avibootz
go
go-get-n-digit-of-number
get-n-digit-of-number
2
answers
135
views
How to get the Nth digit of a number from the right in Go
asked
Oct 14
by
avibootz
go
go-get-n-digit-of-number-from-right
get-n-digit-of-number-from-right
2
answers
155
views
How to remove file extension in Go
asked
Oct 12
by
avibootz
go
go-remove-file-extension
remove-file-extension
2
answers
202
views
How to sum the corners of a matrix in Go
asked
Oct 11
by
avibootz
go
go-matrix
go-sum-corners-matrix
sum-corners-matrix
1
answer
141
views
How to swap two numbers without using a third variable (temp) in Go
asked
Oct 9
by
avibootz
go
go-swap-two-numbers
swap-two-numbers
go-swap-two-numbers-without-third
swap-two-numbers-without-third
2
answers
114
views
How to rearrange a slice into a zig-zag pattern (a < b > c < d > e < f > g) in Go
asked
Oct 8
by
avibootz
go
go-rearrange-slice-zig-zag-pattern
rearrange-slice-zig-zag-pattern
1
answer
93
views
How to generate a range of currency values using Integers in Go
asked
Oct 7
by
avibootz
go
go-generate-range-currency-values
generate-range-currency-values
1
answer
102
views
How to compare floating-point values safely in Go
asked
Oct 7
by
avibootz
go
go-floating-point
go-compare-floating-point-safely
compare-floating-point-safely
3
answers
162
views
How to generate a range of floating-point numbers in Go
asked
Oct 7
by
avibootz
go
go-floating-point
go-generate-range-floating-point-numbers
generate-range-floating-point-numbers
3
answers
132
views
How to mask a number with stars except the last 4 digits in Go
asked
Oct 6
by
avibootz
go
go-mask-number-stars-except-last-4-digits
mask-number-stars-except-last-4-digits
2
answers
146
views
How to remove characters present in first string from the second string in Go
asked
Oct 4
by
avibootz
go
go-string
go-remove-characters-first-string-from-second-string
remove-characters-first-string-from-second-string
1
answer
95
views
How do you find the position of the most significant bit (MSB) of an unsigned integer in Go
asked
Oct 1
by
avibootz
go
go-position-msb-integer
position-msb-integer
1
answer
96
views
How to use XOR to swap two characters in a string in Go
asked
Sep 30
by
avibootz
go
go-xor-swap-two-characters-string
xor-swap-two-characters-string
1
answer
94
views
How to find the intersection of two slices (values that exist in both slices) in Go
asked
Sep 29
by
avibootz
go
intersection-two-slices
1
answer
103
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
133
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
119
views
How to convert multiple date formats to YYYY-MM-DD in Go
asked
Sep 24
by
avibootz
go
go-convert-date-formats-to-yyyy-mm-dd
convert-date-formats-to-yyyy-mm-dd
1
answer
86
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
91
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
89
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
106
views
How to compare two dates in Go
asked
Sep 20
by
avibootz
go
go-compare-two-dates
compare-two-dates
1
answer
104
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
Page:
1
2
3
4
5
6
...
27
next »
...