https://github.com/di-void/rsbk-chpt8-ex1
Solution to exercise 1 (Summary Section) in the Rust Book Chapter 8.
https://github.com/di-void/rsbk-chpt8-ex1
Last synced: 9 months ago
JSON representation
Solution to exercise 1 (Summary Section) in the Rust Book Chapter 8.
- Host: GitHub
- URL: https://github.com/di-void/rsbk-chpt8-ex1
- Owner: di-void
- Created: 2023-11-28T16:39:32.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-28T16:59:53.000Z (over 2 years ago)
- Last Synced: 2025-02-13T20:35:23.192Z (over 1 year ago)
- Language: Rust
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Mean Median Mode
Given a list of integers, use a vector and return the mean (the average value), median (when sorted, the value in the middle position), and mode (the value that occurs most often; a hash map will be helpful here) of the list.