30 days of code in Go: Day 16 - Interquartile Range
Hi there! Today’s challenge is quite similar to the last one. Again, there are quartiles, but the input is a little different and the output is the interquartile range: Q3−Q1Q_3 - Q_1. The first input is nn followed by an array XX of size nn with our data, but the frequencies of each point are included in another array of nn elements, FF, that is the next input. After reading this we need to construct the actual data array SS. My solution is below. ...