Tiecoon / B7

Mirror of https://gitlab.com/tiecoon/B7
BSD 2-Clause "Simplified" License
6 stars 3 forks source link

find the biggest outlier #10

Closed jackphillips7764 closed 5 years ago

jackphillips7764 commented 6 years ago

This should take in a list of i64's and return the index and value as a tuple of the biggest outlier of the group.

ChrisAndre commented 6 years ago

I'll take care of this one, thanks!

EDIT: When you say biggest outlier, do you mean greatest distance or the maximum value? I noticed that the latter was already implemented, and wrote the former just in case... My commit can be reverted if that's not the idea.