Closed psorat307 closed 2 years ago
Hello @psorat307, thanks for creating your first issue at LearnCPP, hope you followed the guidelines.
/assign
This issue has been assigned to psorat307! It will become unassigned if it is not closed within 12 days. A maintainer can also add the pinned label to prevent it from being unassigned.
@Lakhankumawat Please review it
This issue is stale because it has been open 3 days with no activity. Remove stale label or comment or this will be closed in 2 days.
This issue was closed because it has been stalled for 5 days with no activity. Please reopen this issue if not resolved.
Description
Given an array arr[ ] of size N and a number K, the task is to find the sum of the first K natural numbers that are not present in the given array.
Example:
Input: arr[] = {2, 3, 4}, K = 3 Output: 12 Explanation: First 3 Missing numbers are: [1, 5, 6]
Domain
CPP
Type of Contribution
Addition
Code of Conduct