- a single duplicate number exists
- multiple duplicate numbers exist
Find duplicates in an array
Labels: array, CLRS, cormen, duplicate, interview question
Given an array of size 'n', containing elements from 1 to 'n', find out if there are any duplicates in the array. Solve this, if
Subscribe to:
Post Comments (Atom)




0 comments:
Post a Comment