Timeline for Is this an efficient/correct way to get largest Prime factor?
Current License: CC BY-SA 4.0
2 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 24, 2020 at 22:08 | comment | added | chux |
for (let i = 2; i <= n / i; i++) { is a huge efficiency improvement - this is the right answer.
|
|
Dec 24, 2020 at 4:15 | history | answered | Kelly Bundy | CC BY-SA 4.0 |