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
java-string
c#-string
vbnet-string
python-string
cobol
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
split-string-into-array-by-delimiter
transpose-matrix
binary-search-algorithm
dot-product-two-arrays
generate-random-floating-point-numbers
all-permutations-combinations
rust-matrix
go-matrix
kotlin-list
rot13
reverse-string-without-pecial-characters
all-dates-between-2-dates
first-repeated-character-string
difference-two-dates-seconds
get-n-digit-after-decimal-point-float
Disclosure:
My content contains affiliate links.
Recent questions tagged rust
43,835
questions
57,202
answers
573
users
Recent questions tagged rust
1
answer
160
views
How to reverse the bits of a number in Rust
asked
Apr 4
by
avibootz
rust
rust-reverse-bits-number
reverse-bits-number
1
answer
174
views
How to check whether only 2 bits in a number at a specific position are on (edge‑case‑safe) with Rust
asked
Apr 3
by
avibootz
rust
rust-check-2-number-bits-specific-position-on-edge-case-safe
check-2-number-bits-specific-position-on-edge-case-safe
1
answer
165
views
How to toggle a bit at specific position in Rust
asked
Apr 3
by
avibootz
rust
rust-toggle-bit-specific-position
toggle-bit-specific-position
1
answer
155
views
How to write 4 different functions that check if a number is a power of 2 in Rust
asked
Apr 2
by
avibootz
rust
rust-different-functions-check-number-power-of-2
different-functions-check-number-power-of-2
1
answer
157
views
How to write 6 different functions that accept 5 or 7 and return the other number, without using if,switch in Rust
asked
Apr 1
by
avibootz
rust
rust-different-functions-accept-5-7-return-other-number
different-functions-accept-5-7-return-other-number
1
answer
146
views
How to copy bits from M into N (numbers) between bit positions i and j (edge‑case‑safe) in Rust
asked
Mar 30
by
avibootz
rust
rust-bits
rust-copy-bits-m-into-n-between-positions-edge-case-safe
copy-bits-m-into-n-between-positions-edge-case-safe
1
answer
177
views
How to get the word before the last word from a string (edge‑case‑safe) in Rust
asked
Mar 29
by
avibootz
rust
rust-string
rust-get-word-before-last-string-edge-case-safe
get-word-before-last-string-edge-case-safe
1
answer
171
views
How to find the median among three given numbers in Rust
asked
Mar 26
by
avibootz
rust
rust-median-among-three-given-numbers
median-among-three-given-numbers
1
answer
158
views
How to find the smallest number greater than a given number, using the same digits in Rust
asked
Mar 25
by
avibootz
rust
rust-smallest-number-greater-given-number-same-digits
smallest-number-greater-given-number-same-digits
1
answer
153
views
How to produce a sequential count in octal, starting at zero in Rust
asked
Mar 24
by
avibootz
rust
rust-sequential-count-octal
sequential-count-octal
1
answer
160
views
How to write custom callback function to an array (apply a function to each element) in Rust
asked
Mar 21
by
avibootz
rust
rust-custom-callback-function-to-array
custom-callback-function-to-array
3
answers
248
views
How to apply a callback to an array (apply a function to each element) in Rust
asked
Mar 21
by
avibootz
rust
rust-callback-to-array
callback-to-array
1
answer
151
views
How to calculate the Ethiopian multiplication in Rust
asked
Mar 17
by
avibootz
rust
rust-ethiopian-multiplication
ethiopian-multiplication
1
answer
175
views
How to calculate the percentage change between two values in Rust
asked
Mar 16
by
avibootz
rust
rust-percentage-change-between-two-values
percentage-change-between-two-values
1
answer
170
views
How to write the 7 Boom game. If a number is divided by 7 or includes the digit 7, the user writes Boom in Rust
asked
Mar 15
by
avibootz
rust
rust-7-boom-game
7-boom-game
1
answer
164
views
How to find the longest shared prefix among all words in a string with Rust
asked
Mar 14
by
avibootz
rust
rust-longest-shared-prefix-words-string
longest-shared-prefix-words-string
2
answers
215
views
How to group words in a string by the first N letters in Rust
asked
Mar 13
by
avibootz
rust
rust-group-words-string-first-n-letter
group-words-string-first-n-letter
1
answer
154
views
How to find the longest common prefix of all the words in a string with Rust
asked
Mar 12
by
avibootz
rust
rust-longest-common-prefix-all-words-string
longest-common-prefix-all-words-string
1
answer
163
views
How to split a string on multiple multi‑character delimiters (and keep them) in Rust
asked
Mar 10
by
avibootz
rust
rust-split-string-multiple-multi-character-delimiters
split-string-multiple-multi-character-delimiters
1
answer
145
views
How to split a string on multiple single‑character delimiters (and keep them) in Rust
asked
Mar 9
by
avibootz
rust
rust-split-string-multiple-single-character-delimiters
split-string-multiple-single-character-delimiters
1
answer
151
views
How to find missing alphabet characters from a string in Rust
asked
Mar 8
by
avibootz
rust
rust-missing-alphabet-characters-string
missing-alphabet-characters-string
1
answer
139
views
How to remove all adjacent duplicate characters from a string until no more can be removed in Rust
asked
Mar 7
by
avibootz
rust
rust-remove-adjacent-duplicate-characters-string
remove-adjacent-duplicate-characters-string
1
answer
166
views
How to reverse only the alphabetic characters in a string, keeping other characters in place with Rust
asked
Mar 6
by
avibootz
rust
rust-reverse-only-alphabetic-characters
reverse-only-alphabetic-characters
1
answer
173
views
How to find the longest word in a string with Rust
asked
Mar 3
by
avibootz
rust
rust-string
rust-longest-word-in-string
longest-word-in-string
1
answer
144
views
How to check if a string contains only 0 and 1 and is divisible by 7 in Rust
asked
Mar 1
by
avibootz
rust
rust-string-contains-only-0-and-1-is-divisible-by-7
string-contains-only-0-and-1-is-divisible-by-7
1
answer
154
views
How to check if every digit in a number appears only once in Rust
asked
Feb 27
by
avibootz
rust
rust-check-digits-number-appears-once
check-digits-number-appears-once
1
answer
154
views
How to check if a number is pandigital in Rust
asked
Feb 25
by
avibootz
rust
rust-check-number-pandigitaln
check-number-pandigitaln
1
answer
163
views
How to find all happy numbers in a specific range with Rust
asked
Feb 25
by
avibootz
rust
rust-find-happy-numbers-in-specific-range
find-happy-numbers-in-specific-range
1
answer
143
views
How to check if a number is a happy number in Rust
asked
Feb 23
by
avibootz
rust
rust-check-if-number-is-happy-number
check-if-number-is-happy-number
1
answer
165
views
How to guarantee a 64‑bit integer across platforms in Rust
asked
Feb 23
by
avibootz
rust
rust-guarantee-64-bit-integer-across-platforms
guarantee-64-bit-integer-across-platforms
2
answers
203
views
How to remove newlines from a string Rust
asked
Feb 22
by
avibootz
rust
rust-remove-newlines-from-string
remove-newlines-from-string
1
answer
165
views
How to convert a number to any base in Rust
asked
Feb 21
by
avibootz
rust
rust-convert-number-to-any-base
convert-number-to-any-base
1
answer
172
views
How to remove the last n occurrences of a substring in a string in Rust
asked
Feb 16
by
avibootz
rust
rust-remove-last-n-occurrences-substring-string
remove-last-n-occurrences-substring-string
1
answer
163
views
How to find the length of the shortest word in a string with Rust
asked
Feb 12
by
avibootz
rust
rust-length-shortest-word-in-string
length-shortest-word-in-string
1
answer
165
views
How to find the shortest identical consecutive subvector in an vector with Rust
asked
Feb 9
by
avibootz
rust
rust-shortest-identical-consecutive-subvector
shortest-identical-consecutive-subvector
1
answer
158
views
How to move the n word to the end of a string in Rust
asked
Feb 6
by
avibootz
rust
rust-move-n-word-to-end-of-string
move-n-word-to-end-of-string
1
answer
174
views
How to move the first word to the end of a string in Rust
asked
Feb 5
by
avibootz
rust
rust-move-first-word-to-end-of-string
move-first-word-to-end-of-string
1
answer
159
views
How to move a word to the end of a string in Rust
asked
Feb 5
by
avibootz
rust
rust-move-word-to-end-of-string
move-word-to-end-of-string
2
answers
218
views
How to multiply every N consecutive items in a vector with Rust
asked
Feb 2
by
avibootz
rust
rust-multiply-every-n-of-consecutive-items-in-vector
multiply-every-n-of-consecutive-items-in-vector
1
answer
160
views
How to create a vector of dates between a start and end date in Rust
asked
Jan 31
by
avibootz
rust
rust-create-vector-of-dates
create-vector-of-dates
1
answer
151
views
How to sort a vector of structs by multiple columns in Rust
asked
Jan 29
by
avibootz
rust
rust-sort-vector-of-structs-by-multiple-columns
sort-vector-of-structs-by-multiple-columns
1
answer
164
views
How to generate non‑overlapping random ranges (start,end),(start,end) in Rust
asked
Jan 28
by
avibootz
rust
rust-generate-non-overlapping-random-ranges
generate-non-overlapping-random-ranges
1
answer
150
views
How to merge overlapping ranges (start,end),(start,end) in Rust
asked
Jan 26
by
avibootz
rust
rust-merge-overlapping-ranges
merge-overlapping-ranges
1
answer
188
views
How to merge two strings based on shared suffix and prefix in Rust
asked
Jan 24
by
avibootz
rust
rust-merge-two-strings
merge-two-strings-based-on-shared-suffix-and-prefix
1
answer
152
views
How to sort by strings a mixed pair of string and number elements in a vector with Rust
asked
Jan 23
by
avibootz
rust
rust-sort-vector
sort-by-strings-mixed-pair-of-string-number-elements-in-vector
1
answer
154
views
How to sort by numbers a mixed pair of string and number elements in a vector with Rust
asked
Jan 23
by
avibootz
rust
rust-sort-vector
sort-by-numbers-mixed-pair-of-string-number-elements-in-vector
1
answer
146
views
How to check if a string is IPv4 or IPv6 or invalid in Rust
asked
Jan 20
by
avibootz
rust
rust-check-if-string-is-ipv4-or-ipv6-or-invalid
check-if-string-is-ipv4-or-ipv6-or-invalid
1
answer
139
views
How to print a calendar for a specific month and year in Rust
asked
Jan 18
by
avibootz
rust
rust-print-calendar-for-specific-month-and-year
print-calendar-for-specific-month-and-year
1
answer
169
views
How to print the calendar for a specific year in Rust
asked
Jan 17
by
avibootz
rust
rust-print-calendar-for-specific-year
print-calendar-for-specific-year
1
answer
158
views
How to group words by first letter in Rust
asked
Jan 17
by
avibootz
rust
rust-group-words-by-first-letter
group-words-by-first-letter
Page:
« prev
1
2
3
4
5
6
7
8
9
10
...
24
next »
...