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

0% completed

Vote For New Content

Wrong Statement in solution

Vishnu S Nair

Feb 22, 2025

4

42

1

Sep 19, 2025

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

AnonymousManuel

Jan 8, 2025

0

34

1

Sep 16, 2025

Potential Slightly Easier To Understand

Anonymous

Oct 14, 2023

9

299

1

Jan 20, 2025

Simpler Solution

Roberto Pantoja

Jun 13, 2023

6

362

8

May 27, 2025

On this page

Problem Statement

Try it yourself