go4fun.fun
Go4Fun - Functional programming and more

Go4Fun - Functional programming and more

Follow
homeRust Interview PuzzlesGoRustFunctional programmingArchive
Tag

Rust

#rust

More content

Read more stories on Hashnode


Articles with this tag

Rust Interview Puzzles: Find missing numbers

Feb 20, 20232 min read

Problem Given a vector vec of n natural numbers (each number is in the range [1..n]), we need to return "missing" natural numbers that do not appear...

Rust Interview Puzzles: Find missing numbers

Rust Interview Puzzles: Form the largest number

Feb 7, 20232 min read

Problem Given a vector of non-negative integer numbers vec, arrange the numbers in a way that they form the largest possible number and return its...

Rust Interview Puzzles: Form the largest number

Rust Interview Puzzles: Find common factors

Feb 1, 20232 min read

Problem Given two positive integer numbers a and b, we need to find their common factors. A common factor of a and b is an integer number that divides...

Rust Interview Puzzles: Find common factors

Rust Interview Puzzles: Find the pivot number

Jan 30, 20233 min read

Problem Given a non-negative integer number n, we need to find the pivot number. The pivot number p is a number such as the sum of all numbers [0..p]...

Rust Interview Puzzles: Find the pivot number

Rust Interview Puzzles: Find the first unique character in a string

Jan 25, 20232 min read

Problem Given a provided ASCII string str, we need to find the first unique (non-repeating) character. Examples: Input...

Rust Interview Puzzles: Find the first unique character in a string

Rust Interview Puzzles: Ugly numbers

Jan 23, 20232 min read

Problem Given a provided integer number n, we need to check whether this number is Ugly. Ugly numbers are a sequence of numbers whose only prime...

Rust Interview Puzzles: Ugly numbers