Skip to content

problem-solving/duplicate-number

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

duplicate-number

We have a list of integers, where:

  1. The integers are in the range 1..n1..n
  2. The list has a length of n+1n+1

Our list has at least one integer which appears at least twice. It may have several duplicates and each duplicate may appear more than twice.

Write a function which finds any integer that appears more than once in our list.

The solution must be optimized for space

About

Find duplicate numbers in a list

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors