4 votes

HackerRank Project Euler 12 (Python) | Highly Divisible Triangular Numbers

Inaccuracy Many Project Euler problems deal with BIG numbers. These often are large enough that int(number**0.5) will give you the incorrect result! Mathematically,...
AJNeufeld's user avatar
  • 33.3k
2 votes

Trailing Digits

Picture yourself coming back to "V1 code" a decade from now: You can read it, you can run it. Do you know what does, and to what end? Name things for what they are good for. ...
greybeard's user avatar
  • 6,104
1 vote

HackerRank Algorithm Problem: Climbing the Leaderboard (Python)

My approach, described below, should definitely be an improvement. I have named my version climbing_leaderboard so as to not conflict with your name (I have ...
Booboo's user avatar
  • 749
1 vote

Trailing Digits

finally I found a link with a lot of examples. I found trailingdigits.py with a much more elegant approach github.com/RussellDash332/kattis/blob/main/src/… and another webpage that shows more detail ...
qleoz12's user avatar
  • 141

Only top scored, non community-wiki answers of a minimum length are eligible