From 64357157da1f6d3eeab2b95737984ba4b81de34d Mon Sep 17 00:00:00 2001 From: davhojt Date: Tue, 24 May 2022 17:45:54 +0300 Subject: [PATCH] docs(hashing): correct grammar --- subjects/hashing/README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/subjects/hashing/README.md b/subjects/hashing/README.md index b1495f0f..cb63df2a 100644 --- a/subjects/hashing/README.md +++ b/subjects/hashing/README.md @@ -2,19 +2,15 @@ ### Instructions -Given a list of integers (Vec) write three **functions**. +Given a list of integers (`Vec`) write three **functions**. -Write a **function** called `mean` that calculates the `mean` (the average value) of all the values in the list. +-`mean`: that calculates the mean (the average value) of all the values in the list. -Write a **function** called `median` that calculates the `median` (for a sorted list, it is the value in the middle). If there is an even amount of numbers in the list, the middle pair must be determined, added together, and divided by two to find the median value. +- `median`: that calculates the median (for a sorted list, it is the value in the middle). If there is an even amount of numbers in the list, the middle pair must be determined, added together, and divided by two to find the median value. -Write a **function** called `mode` that calculates the mode (the value +- `mode` that calculates the mode (the value that appears more often). -### Notions - -- [hash maps](https://doc.rust-lang.org/book/ch08-03-hash-maps.html) - ### Expected Functions ```rust @@ -53,3 +49,7 @@ median 4 mode 5 $ ``` + +### Notions + +- [hash maps](https://doc.rust-lang.org/book/ch08-03-hash-maps.html)