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,...
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.
...
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 ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
time-limit-exceeded × 1047programming-challenge × 500
python × 385
algorithm × 246
c++ × 215
java × 167
python-3.x × 142
performance × 121
primes × 65
beginner × 63
javascript × 53
c × 50
strings × 50
c# × 43
combinatorics × 37
mathematics × 36
dynamic-programming × 36
python-2.x × 35
graph × 33
complexity × 31
array × 30
vba × 25
sorting × 25
recursion × 25
ruby × 24