Goldman Sachs interview question

Code Interview - Return an integer array of [shortest substring length, longest substring length]

Interview Answer

Anonymous

19 Nov 2020

Try to familiarized yourself with coderpad. I was afraid to use some of the tools I were uncertain of. I used a HashMap to find the max and min of the length.

1