Power of 4

Posted on Sat 15 August 2020 in tech • Tagged with math, squares, numeracy, programming

This one line solution bests 100% of Java submissions on leetcode.

I have to out myself. When I was a junior programmer I would have been strongly morally opposed to a solution like this. First of all, that was three decades ago and back then many types of cpus did …


Continue reading

The Bethe Trick

Posted on Sat 02 May 2020 in update • Tagged with math, squares, numeracy

The Bethe Trick - Bethe taught Feynman how square quickly at Los Alamos.

The Bethe Trick