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

0% completed

Vote For New Content
There seems to be a typo in the example visual: we start with [2, 3, 3, 3, 6, 9,...

Yvonne

Aug 19, 2022

There seems to be a typo in the example visual: we start with [2, 3, 3, 3, 6, 9, 9] but end with [2, 3, 6, 6, 9, 9, 9]

1

0

Comments
Comments
Design Gurus
Design Gurus3 years ago

We are not expected to have the same set of elements at the end.

We are removing the duplicates and changing the input array.

On this page

Problem Statement

Try it yourself