Browse Source

first pass exam rust

pull/765/head
Chris 3 years ago
parent
commit
e3421e7d18
  1. 2
      subjects/display_table/README.md
  2. 2
      subjects/filter_table/README.md
  3. 5
      subjects/flat_tree/README.md

2
subjects/display_table/README.md

@ -37,7 +37,7 @@ impl Table {
### Usage
Here is a possible test for your function:
Here is a possible program to test your function:
```rust
fn main() {

2
subjects/filter_table/README.md

@ -46,7 +46,7 @@ impl Table {
### Usage
Here is a possible test for your function:
Here is a possible program to test your function:
```rust
fn main() {

5
subjects/flat_tree/README.md

@ -2,18 +2,19 @@
### Instructions
- Define the functions `flatten_tree` that receives a std::collections::BTreeSet and returns a new `Vec` with the elements in the binary tree in order.
- Define the functions `flatten_tree` which receives a `std::collections::BTreeSet` and returns a new `Vec` with the elements of the binary tree in order.
### Expected function
```rust
pub fn flatten_tree<T: ToOwned<Owned = T>>(tree: &BTreeSet<T>) -> Vec<T> {
}
```
### Usage
Here is a possible test for your function:
Here is a possible program to test your function:
```rust
fn main() {

Loading…
Cancel
Save