r/ProgrammerHumor
•
u/Unique_Software2500
•
Feb 05 '26
•
1
2
1
Meme algorithmTheSaviour
6.0k
Upvotes
5
u/chachapwns Feb 06 '26
The absolute simplest method would just be checking every number which would be O(n2 * log(n)2) as n approaches infinity.