Computer Science, asked by ashishshukla4377, 11 months ago

Given a 1-d array candy crush, return the shortest array after removing all the continuous same numbers (the repeating number >= 3) input: 1-d array [1, 3, 3, 3, 2, 2, 2, 3, 1] return: [1, 1]

Answers

Answered by baharul21baharul
0

Answer:

1day array candy crush 3×4,2×3, 1×1

Similar questions