Grokking the Coding Interview: Patterns for Coding Questions
Ask Author
Back to course home

0% completed

Vote For New Content

O(X^{1/4}) solution

vladyslav.chikov

Nov 22, 2025

0

4

0

Nov 22, 2025

Wrong Statement in solution

Vishnu S Nair

Feb 22, 2025

4

44

1

Sep 19, 2025

I dont understand the comparison if (num > x) instead of if (num > x/2)

AnonymousManuel

Jan 8, 2025

0

35

1

Sep 16, 2025

Potential Slightly Easier To Understand

Anonymous

Oct 14, 2023

9

300

1

Jan 20, 2025

Simpler Solution

Roberto Pantoja

Jun 13, 2023

6

367

8

May 27, 2025

On this page

Problem Statement

Try it yourself