Menu
vim: Older than most people using it.
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Azure
Backend
Bash
C++
Cloud
All Categories
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
Modular arithmetic Memes
Posts tagged with Modular arithmetic
Sometimes I Just Can't Believe That These Solutions Work
Python
Programming
Algorithms
Math
1 year ago
335.5K views
0 shares
Left side: You meticulously calculating digital roots by converting to string, looping through digits, summing them up, and recursing until you get a single digit. Right side: That one-liner wizard who knows that n%9 or n and 9 does the exact same thing because of mathematical properties nobody remembers from school. Your code works. Their code works faster and makes you question your entire career. Just another Tuesday in programming.
Today's picks
Yamaha 88-Key Weighted Digital Piano, with Foot Switch and Music Rest, Black-Furniture Stand Sold Separately, 167.64 x 45.72 x 20.32 cm (DGX670B)
Affiliate
$899.99
NordVPN
Sponsored
VPN
When Your Flirting Is As Reliable As Your CDN
Programming
393.4K views
1 year ago