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
5
views
How to find the two largest elements in a vector with Rust
asked
13 hours
ago
by
avibootz
rust
rust-two-largest-elements-vector
two-largest-elements-vector
1
answer
7
views
How to find the smallest and largest digits in a number in Rust
asked
16 hours
ago
by
avibootz
rust
rust-smallest-largest-digits-number
smallest-largest-digits-number
1
answer
17
views
How to reverse a string without affecting special characters in Rust
asked
2 days
ago
by
avibootz
rust
rust-reverse-string-without-pecial-characters
reverse-string-without-pecial-characters
1
answer
14
views
How to implement the ROT13 algorithm (replace a letter with the 13th letter after it) in Rust
asked
2 days
ago
by
avibootz
rust
rust-implement-rot13-algorithm
implement-rot13-algorithm
rot13
1
answer
20
views
How to get the number of months between two dates in Rust
asked
3 days
ago
by
avibootz
rust
rust-months-between-two-dates-months
months-between-two-dates-months
1
answer
32
views
How to get all dates between 2 dates in Rust
asked
4 days
ago
by
avibootz
rust
rust-all-dates-between-2-dates
all-dates-between-2-dates
1
answer
22
views
How to find the last repeated character in a string with Rust
asked
5 days
ago
by
avibootz
rust
rust-last-repeated-character-string
last-repeated-character-string
1
answer
38
views
How to find three consecutive numbers with the largest sum in a vector of integers in Rust
asked
Oct 30
by
avibootz
rust
rust-three-consecutive-numbers-largest-sum-vector
three-consecutive-numbers-largest-sum-vector
1
answer
56
views
How to find the second biggest number in a set of random numbers in Ruby
asked
Oct 29
by
avibootz
rust
rust-second-biggest
ruby-second-biggest-set-random-numbers
second-biggest-set-random-numbers
3
answers
91
views
How to calculate the largest positive integer in a 64-bit system in Rust
asked
Oct 26
by
avibootz
rust
rust-largest-positive-integer-64-bit
largest-positive-integer-64-bit
1
answer
61
views
How to get and use a hash code for an array and a vector of integers in Rust
asked
Oct 25
by
avibootz
rust
rust-get-use-hash-code-array-vector-integers
get-use-hash-code-array-vector-integers
1
answer
54
views
How to sort a map first by value, then by key in Rust
asked
Oct 24
by
avibootz
rust
rust-sort-map-value-key
sort-map-value-key
1
answer
51
views
How to find the maximum distance between two numbers in a slice with Rust
asked
Oct 23
by
avibootz
rust
rust-maximum-distance-two-numbers-slice
maximum-distance-two-numbers-slice
1
answer
60
views
How to find the minimum distance between two numbers in a vector with Rust
asked
Oct 21
by
avibootz
rust
rust-minimum-distance-two-numbers-vector
minimum-distance-two-numbers-vector
1
answer
73
views
How to compute the total number of combinations when choosing 7 numbers out of 33 in Rust
asked
Oct 20
by
avibootz
rust
rust-total-combinations-choosing-7-out-of-33
total-combinations-choosing-7-out-of-33
6
answers
181
views
How to format a string using fixed-width fields in Rust
asked
Oct 18
by
avibootz
rust
rust-string
rust-format-string-fixed-width-fields
format-string-fixed-width-fields
3
answers
95
views
How to print the bits of a character in Rust
asked
Oct 16
by
avibootz
rust
rust-print-bits-character
print-bits-character
1
answer
76
views
How to get the Nth digit after the decimal point of a floating-point number in Rust
asked
Oct 15
by
avibootz
rust
rust-get-n-digit-after-decimal-point-float
get-n-digit-after-decimal-point-float
1
answer
70
views
How to get the Nth digit of a number in Rust
asked
Oct 14
by
avibootz
rust
rust-get-n-digit-of-number
get-n-digit-of-number
1
answer
74
views
How to get the Nth digit of a number from the right in Rust
asked
Oct 14
by
avibootz
rust
rust-get-n-digit-of-number-from-right
get-n-digit-of-number-from-right
3
answers
155
views
How to remove file extension in Rust
asked
Oct 12
by
avibootz
rust
rust-remove-file-extension
remove-file-extension
2
answers
173
views
How to sum the corners of a matrix in Rust
asked
Oct 11
by
avibootz
rust
rust-matrix
rust-sum-corners-matrix
sum-corners-matrix
2
answers
161
views
How to extract all the substrings between single quotation marks in Rust
asked
Oct 11
by
avibootz
rust
rust-substring
rust-extract-all-substrings-single-quotation-marks
extract-all-substrings-single-quotation-marks
4
answers
210
views
How to swap two numbers without using a third variable (temp) in Rust
asked
Oct 9
by
avibootz
rust
rust-swap-two-numbers
swap-two-numbers
rust-swap-two-numbers-without-third
swap-two-numbers-without-third
1
answer
87
views
How to rearrange a vector into a zig-zag pattern (a < b > c < d > e < f > g) in Rust
asked
Oct 9
by
avibootz
rust
rust-rearrange-vector-zig-zag-pattern
rearrange-vector-zig-zag-pattern
2
answers
124
views
How to rearrange an array into a zig-zag pattern (a < b > c < d > e < f > g) in Rust
asked
Oct 8
by
avibootz
rust
rust-rearrange-array-zig-zag-pattern
rearrange-array-zig-zag-pattern
2
answers
110
views
How to compare floating-point values safely in Rust
asked
Oct 8
by
avibootz
rust
rust-floating-point
rust-compare-floating-point-safely
compare-floating-point-safely
3
answers
154
views
How to generate a range of floating-point numbers in Rust
asked
Oct 7
by
avibootz
rust
rust-floating-point
rust-generate-range-floating-point-numbers
generate-range-floating-point-numbers
3
answers
121
views
How to mask a number with stars except the last 4 digits in Rust
asked
Oct 6
by
avibootz
rust
rust-mask-number-stars-except-last-4-digits
mask-number-stars-except-last-4-digits
2
answers
140
views
How to remove characters present in first string from the second string in Rust
asked
Oct 4
by
avibootz
rust
rust-string
rust-remove-characters-first-string-from-second-string
remove-characters-first-string-from-second-string
1
answer
75
views
How to use primitive types in Rust
asked
Oct 2
by
avibootz
rust
rust-use-primitive-types
use-primitive-types
1
answer
86
views
How do you find the position of the most significant bit (MSB) of an unsigned integer in Rust
asked
Oct 1
by
avibootz
rust
rust-position-msb-integer
position-msb-integer
1
answer
84
views
How to use XOR to swap two characters in a string in Rust
asked
Sep 30
by
avibootz
rust
rust-xor-swap-two-characters-string
xor-swap-two-characters-string
1
answer
67
views
How to convert a usize to an f64 in Rust
asked
Sep 29
by
avibootz
rust
rust-convert-usize-to-f64
convert-usize-to-f64
1
answer
97
views
How to find the intersection of two vectors (values that exist in both vectors) in Rust
asked
Sep 29
by
avibootz
rust
rust-intersection-two-vectors
intersection-two-vectors
1
answer
85
views
How to check whether the letters of a word exist in a string (order doesn't matter) in Rust
asked
Sep 27
by
avibootz
rust
rust-letters-of-word-exist-in-string-order-doesnt-matter
letters-of-word-exist-in-string-order-doesnt-matter
1
answer
99
views
How to find the element with minimum occurrences in an array with Ruby
asked
Sep 26
by
avibootz
rust
rust-element-minimum-occurrences-array
element-minimum-occurrences-array
1
answer
90
views
How to find the element with minimum occurrences in a vector with Rust
asked
Sep 26
by
avibootz
rust
rust-element-minimum-occurrences-vector
element-minimum-occurrences-vector
1
answer
132
views
How to convert multiple date formats to YYYY-MM-DD in Rust
asked
Sep 25
by
avibootz
rust
rust-convert-date-formats-to-yyyy-mm-dd
convert-date-formats-to-yyyy-mm-dd
1
answer
93
views
How to sort a list of string‑based dates in Ruby
asked
Sep 23
by
avibootz
rust
rust-sort-list-string-based-dates
sort-list-string-based-dates
1
answer
84
views
How to sort a list of string‑based dates in Rust
asked
Sep 23
by
avibootz
rust
rust-sort-list-string-based-dates
sort-list-string-based-dates
1
answer
79
views
How to print a number with a thousand separator as spaces in Rust
asked
Sep 22
by
avibootz
rust
rust-number-thousand-separator-spaces
number-thousand-separator-spaces
1
answer
88
views
How to count the numbers with an even number of digits in a vector with Rust
asked
Sep 21
by
avibootz
rust
rust-count-numbers-even-number-of-digits-vector
count-numbers-even-number-of-digits-vector
1
answer
92
views
How to compare two dates in Rust
asked
Sep 20
by
avibootz
rust
rust-compare-two-dates
compare-two-dates
1
answer
88
views
How to get the country name from the 2-letter country code (alpha-2) in Rust
asked
Sep 19
by
avibootz
rust
rust-country-name-from-country-code
country-name-from-country-code
1
answer
96
views
How to extract the last N digits from a number in Rust
asked
Sep 18
by
avibootz
rust
rust-extract-last-n-digits-number
extract-last-n-digits-number
1
answer
102
views
How to extract all floating-point numbers from a string of words in Rust
asked
Sep 18
by
avibootz
rust
rust-extract-all-floating-point-numbers-string
extract-all-floating-point-numbers-string
1
answer
110
views
How to extract all digits from a string in Rust
asked
Sep 17
by
avibootz
rust
rust-extract-all-digits-string
extract-all-digits-string
1
answer
109
views
How to get the first digit of a float number in Rust
asked
Sep 15
by
avibootz
rust
rust-get-first-digit-float
get-first-digit-float
1
answer
102
views
How to compute the factorial of a number greater than 20 in Rust
asked
Sep 14
by
avibootz
rust
rust-compute-factorial-of-number-greater-20
compute-factorial-of-number-greater-20
Page:
1
2
3
4
5
6
...
24
next »
...