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

0% completed

Vote For New Content
Invalid test case in the test suite

kfaham

Aug 20, 2025

test case: [3, 1, 3] is invalid

Length is 3, thus range of each element has to be up to 2 based on the constraints given in the problem other wise the fast & slow pointer approach doesn't work

0

0

Comments
Comments

On this page