logoalt Hacker News

tomsmedinglast Sunday at 9:39 PM1 replyview on HN

The method proposed is just A - B mod n. The two are entirely equivalent.


Replies

AnotherGoodNamelast Sunday at 9:44 PM

A few extra steps to essentially manually do the mod part tbh. Would take their 20 line program to a 1 liner.