Back to course home
0% completed
Vote For New Content
Most performant solution
AnonymousJlsegb
Jan 27, 2026
0
2
0
Jan 27, 2026
O(X^{1/4}) solution
vladyslav.chikov
Nov 22, 2025
0
9
0
Nov 22, 2025
Wrong Statement in solution
Vishnu S Nair
Feb 22, 2025
5
48
1
Jan 28, 2026
I dont understand the comparison if (num > x) instead of if (num > x/2)
AnonymousManuel
Jan 8, 2025
0
37
1
Sep 16, 2025
Potential Slightly Easier To Understand
Anonymous
Oct 14, 2023
10
304
1
Feb 2, 2026
Simpler Solution
Roberto Pantoja
Jun 13, 2023
6
374
8
May 27, 2025
On this page
Problem Statement
Try it yourself