-
Notifications
You must be signed in to change notification settings - Fork 0
Missing Positive Integers (Q71) #47
Copy link
Copy link
Open
Labels
arraysArray problemsArray problemsbinary-searchBinary search patternBinary search patternmediumMedium difficultyMedium difficultynedbank-prepDirectly maps to Nedbank VAS assessmentDirectly maps to Nedbank VAS assessment
Milestone
Metadata
Metadata
Assignees
Labels
arraysArray problemsArray problemsbinary-searchBinary search patternBinary search patternmediumMedium difficultyMedium difficultynedbank-prepDirectly maps to Nedbank VAS assessmentDirectly maps to Nedbank VAS assessment
Projects
StatusShow more project fields
Ready
Problem
Given array arr of size n, find the kth smallest positive integer not present in the array. Duplicates do not affect what is missing.
Source
Nedbank VAS HackerRank Assessment - Q71
Tags: Easy, Arrays, Sorting, Binary Search
References
Constraints
Example
Approach Hints
Complexity Target
Notes
Language: Java
k can exceed int range - use long throughout.