Upendra Kumar added the comment:

This is my first attempt to contribute. I have used the Median of Medians with 
n/5 groups of 5 elements each. It has linear time complexity. But, still I am 
not sure about it, because constants may be high. Therefore, if anyone can 
please benchmark it with other methods or check that can this method be a 
viable solution to finding median more efficiently?

I will like it to be checked before I make attempts to convert it into a patch.

----------
nosy: +upendra-k14
Added file: http://bugs.python.org/file41479/effmedian.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21592>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to