Quantcast
Viewing all articles
Browse latest Browse all 25

Answer by kasperd for Tweetable hash function challenge

Python, 6446 6372


This solution achieves lower collision count than all previous entries, and it needs only 44 of the 140 bytes allowed for code:

H=lambda s:int(s.encode('hex'),16)%16727401

Viewing all articles
Browse latest Browse all 25

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>