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

0% completed

Vote For New Content
Semih kekül
Question text doesn't say anything about returning -1,-1 when no result exists

Semih kekül

Jun 29, 2023

Question text should say to return -1,-1 when no result exists.

5

0

Comments
Comments
Design Gurus
Design Gurus2 years ago

Thanks for pointing that out. We added the constraint.

On this page

Problem Statement

Try it yourself