educative.io

Not working for null or less than 3 elements

Hi,

3 sum problem didn’t handle the cases if input vector is null or empty or only one element or 2 elements. Please add those.

Thanks,
Souvik

@Souvik_Das, thanks for the feedback. We will look into this.