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

0% completed

Vote For New Content
The first solution for "Pair with Target Sum. I guess it is not working for the ...

Narinder

Feb 9, 2022

The first solution for "Pair with Target Sum. I guess it is not working for the inputs. [3,2,4] and target as 6;

pair_with_target([3,2,4], 6)

0

0

Comments
Comments
Design Gurus
Design Gurus4 years ago

This is not a valid input. The problem expects a sorted array.

N
Narinder 4 years ago

Oh! Missed that. Thanks.

O
ornella 4 years ago

Thanks!

On this page

Problem Statement

Try it yourself