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
pascal-array
f#
opengl
typescript-string
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
swap-two-numbers-without-third
swap-two-numbers
mask-number-stars-except-last-4-digits
remove-characters-first-string-from-second-string
generate-8-digit-random-number
compare-two-dates
Disclosure:
My content contains affiliate links.
Recent questions tagged rust
43,540
questions
56,739
answers
573
users
Recent questions tagged rust
1
answer
10
views
How to get the Nth digit of a number in Rust
asked
18 hours
ago
by
avibootz
rust
rust-get-n-digit-of-number
get-n-digit-of-number
1
answer
11
views
How to get the Nth digit of a number from the right in Rust
asked
18 hours
ago
by
avibootz
rust
rust-get-n-digit-of-number-from-right
get-n-digit-of-number-from-right
3
answers
33
views
How to remove file extension in Rust
asked
2 days
ago
by
avibootz
rust
rust-remove-file-extension
remove-file-extension
2
answers
39
views
How to sum the corners of a matrix in Rust
asked
3 days
ago
by
avibootz
rust
rust-matrix
rust-sum-corners-matrix
sum-corners-matrix
2
answers
42
views
How to extract all the substrings between single quotation marks in Rust
asked
3 days
ago
by
avibootz
rust
rust-substring
rust-extract-all-substrings-single-quotation-marks
extract-all-substrings-single-quotation-marks
4
answers
67
views
How to swap two numbers without using a third variable (temp) in Rust
asked
5 days
ago
by
avibootz
rust
rust-swap-two-numbers
swap-two-numbers
rust-swap-two-numbers-without-third
swap-two-numbers-without-third
1
answer
42
views
How to rearrange a vector into a zig-zag pattern (a < b > c < d > e < f > g) in Rust
asked
5 days
ago
by
avibootz
rust
rust-rearrange-vector-zig-zag-pattern
rearrange-vector-zig-zag-pattern
2
answers
64
views
How to rearrange an array into a zig-zag pattern (a < b > c < d > e < f > g) in Rust
asked
6 days
ago
by
avibootz
rust
rust-rearrange-array-zig-zag-pattern
rearrange-array-zig-zag-pattern
2
answers
61
views
How to compare floating-point values safely in Rust
asked
6 days
ago
by
avibootz
rust
rust-floating-point
rust-compare-floating-point-safely
compare-floating-point-safely
3
answers
93
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
72
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
79
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
41
views
How to use primitive types in Rust
asked
Oct 2
by
avibootz
rust
rust-use-primitive-types
use-primitive-types
1
answer
56
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
53
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
46
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
69
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
68
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
68
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
66
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
83
views
How to convert multiple date formats to YYYY-MM-DD in Rust
asked
Sep 25
by
avibootz
rust
rust-convert-convert-date-formats-to-yyyy-mm-dd
convert-convert-date-formats-to-yyyy-mm-dd
1
answer
69
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
66
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
61
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
65
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
74
views
How to compare two dates in Rust
asked
Sep 20
by
avibootz
rust
rust-compare-two-dates
compare-two-dates
1
answer
67
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
75
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
80
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
80
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
81
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
79
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
1
answer
78
views
How to select N unique random values that appear exactly once in an existing vector with Rust
asked
Sep 13
by
avibootz
rust
rust-n-unique-random-values-appear-once-in-vector
n-unique-random-values-appear-once-in-vector
1
answer
73
views
How to select N unique random indices from an existing vector in Rust
asked
Sep 12
by
avibootz
rust
rust-select-n-unique-random-indices-vector
select-n-unique-random-indices-vector
1
answer
86
views
How to find common words in two strings with Rust
asked
Sep 11
by
avibootz
rust
rust-string
rust-find-common-words-two-strings
find-common-words-two-strings
1
answer
90
views
How to check whether a floating-point variable is an integer (has no fractional part) in Rust
asked
Sep 10
by
avibootz
rust
rust-check-whether-floating-point-variable-is-integer
check-whether-floating-point-variable-is-integer
1
answer
77
views
How to generate all trigrams (3-character sequences) from a given word in Ruby
asked
Sep 9
by
avibootz
rust
ruby-generate-all-trigrams-given-word
generate-all-trigrams-given-word
1
answer
79
views
How to generate all trigrams (3-character sequences) from a given word in Rust
asked
Sep 9
by
avibootz
rust
rust-generate-all-trigrams-given-word
generate-all-trigrams-given-word
1
answer
87
views
How to compare two float arrays using a tolerance in Rust
asked
Sep 8
by
avibootz
rust
rust-compare-two-float-arrays-tolerance
compare-two-float-arrays-tolerance
1
answer
102
views
How to split text without spaces into a list of words using dictionary-based segmentation in Rust
asked
Sep 8
by
avibootz
rust
rust-split-text-without-spaces-into-words-dictionary
split-text-without-spaces-into-words-dictionary
1
answer
102
views
How to convert numbers from 0 to 999,999,999,999,999 (up to 999 trillion) into English words in Rust
asked
Sep 6
by
avibootz
rust
rust-convert-numbers-0-999999999999999-english-words
convert-numbers-0-999999999999999-english-words
1
answer
100
views
How to parse a table into a binary tree in Rust
asked
Sep 5
by
avibootz
rust
rust-parse-table-into-binary-tree
parse-table-into-binary-tree
1
answer
90
views
How to declare, initialize, and print a medium complexity, varied, feature‑rich data structure in Rust
asked
Sep 3
by
avibootz
rust
rust-declare-initialize-print-medium-complexity-data-structure
declare-initialize-print-medium-complexity-data-structure
1
answer
96
views
How to sort a vector of structs that contain nested structs using custom comparison logic in Rust
asked
Sep 1
by
avibootz
rust
rust-sort-vector-of-structs-contain-nested-structs
sort-vector-of-structs-contain-nested-structs
1
answer
87
views
How to find the N most frequent non‑stopwords in a text in Rust
asked
Aug 31
by
avibootz
rust
rust-n-most-frequent-non-stopwords-text
n-most-frequent-non-stopwords-text
1
answer
103
views
How to find the starting index of all occurrences of a word in a string in Rust
asked
Aug 30
by
avibootz
rust
rust-find-starting-index-all-occurrences-word-string
find-starting-index-all-occurrences-word-string
2
answers
115
views
How to split a string into words in Rust
asked
Aug 29
by
avibootz
rust
rust-split-string
rust-split-string-into-words
split-string-into-words
1
answer
82
views
How to convert any digital storage unit into all others (B, KB, MB, GB, TB, PB, EB, ZB, YB) in Rust
asked
Aug 28
by
avibootz
rust
rust-convert-any-digital-storage-unit-into-all-others
convert-any-digital-storage-unit-into-all-others
1
answer
96
views
How to write the Tic-Tac-Toe game in Rust
asked
Aug 27
by
avibootz
rust
rust-tic-tac-toe-game
tic-tac-toe-game
1
answer
105
views
How to generate a random RGBA color and opacity in Rust
asked
Aug 25
by
avibootz
rust
rust-generate-random-rgba-color-opacity
generate-random-rgba-color-opacity
Page:
1
2
3
4
5
6
...
24
next »
...