Skip to content

Consecutive numbers #15

@UseTheApi

Description

@UseTheApi

Given an array of integers, find the max length of consecutive numbers present in array. The numbers don't need to be in order. Ex. 7 1 5 3 9 2 4 => Ans.: 1 2 3 4 5

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions