Solidity implementation for finding weighted median?

I am looking for a smart contract implementation for finding weighted median.
is anyone aware of one?

1 Like

Hi @ilanD,

I suggest having a look through List of Solidity libraries in the wild to see if there is anything that meets your needs.

Implementation will strongly depend on your requirements (e.g., size, level of optimization, etc.)
See for example http://www.jcomputers.us/vol9/jcp0902-02.pdf

In addition, limitations of the Solidity must be considered.

4 Likes